Bug 1164027 - Run search activity in a separate process; r=margaret
authorJim Chen <nchen@mozilla.com>
Mon, 18 Apr 2016 07:34:06 -0400
changeset 331457 4a9ce80d7a1b61d88e718e9a233435b6f6ad5215
parent 331456 bc5264d6536ed11cc513fd003453e0a91a3f45ca
child 331458 64a0ad4f6ac04a4951c815a948395374700ae2ad
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1164027
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1164027 - Run search activity in a separate process; r=margaret We suspect running WebView instances in the same process as Gecko could be one cause of excessive GPU memory mappings.
mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in
--- a/mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in
+++ b/mobile/android/search/manifests/SearchAndroidManifest_activities.xml.in
@@ -1,10 +1,11 @@
         <activity
             android:name="@MOZ_ANDROID_SEARCH_INTENT_CLASS@"
+            android:process=":search"
             android:launchMode="singleTop"
             android:taskAffinity="@ANDROID_PACKAGE_NAME@.SEARCH"
             android:icon="@drawable/search_launcher"
             android:label="@string/search_app_name"
             android:configChanges="orientation|screenSize"
             android:theme="@style/AppTheme">
             <intent-filter>
                 <action android:name="android.intent.action.ASSIST"/>
@@ -44,16 +45,17 @@
                 <action android:name="org.mozilla.widget.LAUNCH_NEW_TAB"/>
             </intent-filter>
 
             <meta-data android:name="android.appwidget.provider" android:resource="@xml/search_widget_info" />
         </receiver>
 
         <activity
             android:name="org.mozilla.search.SearchPreferenceActivity"
+            android:process=":search"
             android:logo="@drawable/search_launcher"
             android:label="@string/search_pref_title"
             android:parentActivityName="@MOZ_ANDROID_SEARCH_INTENT_CLASS@"
             android:theme="@style/SettingsTheme" >
             <meta-data
                 android:name="android.support.PARENT_ACTIVITY"
                 android:value="@MOZ_ANDROID_SEARCH_INTENT_CLASS@"/>
         </activity>