Browse Source

Issue #5194: Reuse Fennec taskAffinity flag.

Reusing the same taskAffinity makes sure that we are launching into a potentially already
existing task from Fennec. Without that we may spawn a new task and will show up twice
in "Recent apps" - with one entry still having a fennec screenshot.
master
Sebastian Kaspari 2 years ago
parent
commit
f1a3dffba2
  1. 4
      app/src/migration/AndroidManifest.xml

4
app/src/migration/AndroidManifest.xml

@ -19,10 +19,12 @@
<activity-alias
android:name="${applicationId}.App"
android:targetActivity="org.mozilla.fenix.MigrationDecisionActivity"
tools:replace="android:targetActivity"/>
android:taskAffinity="${applicationId}.BROWSER"
tools:replace="android:targetActivity" />
<activity
android:name="org.mozilla.fenix.MigrationDecisionActivity"
android:taskAffinity="${applicationId}.BROWSER"
android:exported="false" />
<service android:name="org.mozilla.fenix.MigrationService" />

Loading…
Cancel
Save