mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-15 18:12:54 +00:00
943455658b
Initially we did this to avoid a duplicated task right after the migration from Fennec. We'd end up with the original task from Fennec and the new one from Fenix; with the Fennec task still showing Fennec in the app switcher, but launching Fenix once selected. Anyhow, now on Android 11 this causes the Fenix task to get duplicated. The simple fix is to not do any of that anymore. This may re-introduce the problem with the Fennec migration, but: * We are at 100% rollout for quite some time. There are still users migrating, but the impact of the bug is much lower. * The bug after the migration was only temporary. This bug here is happening every time you launch Fenix. So I'd rather fix this than a possible inconvenience right after the migration.
31 lines
1.4 KiB
XML
31 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
sharedUserId: This release type is meant to replace Firefox (Release channel) and therefore needs to inherit
|
|
its sharedUserId for all eternity. Shipping an app update without sharedUserId can have
|
|
fatal consequences. For example see:
|
|
- https://issuetracker.google.com/issues/36924841
|
|
- https://issuetracker.google.com/issues/36905922
|
|
-->
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:sharedUserId="${sharedUserId}">
|
|
<application
|
|
android:name="org.mozilla.fenix.MigratingFenixApplication"
|
|
tools:replace="android:name">
|
|
|
|
<!-- Overriding the alias of the main manifest to route app launches through our
|
|
MigrationDecisionActivity which will show the migration screen before launching
|
|
into the app if needed. -->
|
|
<activity-alias
|
|
android:name="${applicationId}.App"
|
|
android:targetActivity="org.mozilla.fenix.MigrationDecisionActivity"
|
|
tools:replace="android:targetActivity" />
|
|
|
|
<activity
|
|
android:name="org.mozilla.fenix.MigrationDecisionActivity"
|
|
android:exported="false" />
|
|
|
|
<service android:name="org.mozilla.fenix.MigrationService" />
|
|
</application>
|
|
</manifest>
|