Bug 1289140 - Make LauncherActivity use the main taskAffinity; r?mcomella draft
authorSUN Haitao <sunhaitao@devtaste.com>
Mon, 25 Jul 2016 22:42:27 +0800
changeset 392442 061ea0d6dd754255e04a15e801921f9cb711c08b
parent 391305 e0bc88708ffed39aaab1fbc0ac461d93561195de
child 526329 817ab5d2d6b70cec8e94f78c829c8effd6b1710d
push id24022
push userbmo:sunhaitao@devtaste.com
push dateMon, 25 Jul 2016 15:11:12 +0000
reviewersmcomella
bugs1289140
milestone50.0a1
Bug 1289140 - Make LauncherActivity use the main taskAffinity; r?mcomella MozReview-Commit-ID: ClXHovM0ecU
mobile/android/base/AndroidManifest.xml.in
--- a/mobile/android/base/AndroidManifest.xml.in
+++ b/mobile/android/base/AndroidManifest.xml.in
@@ -41,17 +41,18 @@
 
 #ifdef MOZ_NATIVE_DEVICES
         <!-- This resources comes from Google Play Services. Required for casting support. -->
         <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
 #endif
 
         <!-- This activity handles all incoming Intents and dispatches them to other activities. -->
         <activity android:name="org.mozilla.gecko.LauncherActivity"
-            android:theme="@android:style/Theme.Translucent.NoTitleBar" />
+                  android:taskAffinity="@ANDROID_PACKAGE_NAME@.BROWSER"
+                  android:theme="@android:style/Theme.Translucent.NoTitleBar" />
 
         <!-- Fennec is shipped as the Android package named
              org.mozilla.{fennec,firefox,firefox_beta}.  The internal Java
              package hierarchy inside the Android package used to have an
              org.mozilla.{fennec,firefox,firefox_beta} subtree *and* an
              org.mozilla.gecko subtree; it now only has org.mozilla.gecko. -->
         <activity android:name="@MOZ_ANDROID_BROWSER_INTENT_CLASS@"
                   android:label="@string/moz_app_displayname"