Bug 784397 - Apps should have their own task affinity so that they all show in recent apps. r=mfinkle
authorWes Johnston <wjohnston@mozilla.com>
Thu, 23 Aug 2012 09:15:26 -0700
changeset 105218 d720637283ebc849076442a338e5670ab468bb7b
parent 105217 6c3457b601d8021ce7b6793445cb091a47b0b3b2
child 105219 c0bf8f74341984843682b8c0eeb1518deebc540d
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersmfinkle
bugs784397
milestone17.0a1
Bug 784397 - Apps should have their own task affinity so that they all show in recent apps. r=mfinkle
mobile/android/base/WebAppManifestFragment.xml.frag
--- a/mobile/android/base/WebAppManifestFragment.xml.frag
+++ b/mobile/android/base/WebAppManifestFragment.xml.frag
@@ -1,13 +1,14 @@
         <activity android:name=".WebApps$WebApp@APPNUM@"
                   android:label="@string/webapp_generic_name"
                   android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize"
                   android:windowSoftInputMode="stateUnspecified|adjustResize"
                   android:launchMode="singleInstance"
+                  android:taskAffinity="org.mozilla.gecko.WEBAPP@APPNUM@"
                   android:process=":@ANDROID_PACKAGE_NAME@.WebApp@APPNUM@"
                   android:theme="@style/Gecko.NoActionBar">
             <intent-filter>
                 <action android:name="org.mozilla.gecko.WEBAPP@APPNUM@" />
             </intent-filter>
             <intent-filter>
                 <action android:name="org.mozilla.gecko.ACTION_ALERT_CALLBACK" />
             </intent-filter>