Commit Graph

7 Commits (943455658bf90df9c7139512790e065fc7292e0d)

Author SHA1 Message Date
Sebastian Kaspari 943455658b Issue #13270: Do not launch into Fennec's task anymore.
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.
4 years ago
Sebastian Kaspari f1a3dffba2 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.
4 years ago
Sebastian Kaspari 10bf49918f Issue #7818: Use different target activities for launcher activity alias (fenix vs. fennec). (#7917)
* With this patch fenix build variants will launch HomeActivity directly from the launcher.
  This will get rid of the performance regression outlined in #7818.

* Fennec build variants will launch into MigrationDecisionActivity which will show the
  migration UI or launch normally into the app. This is faster than going through
  IntentReceiverActivity (measured and perceived).
4 years ago
Jonathan Almeida 261a6162af Review comments, fix build failure and targetActivity 4 years ago
Jonathan Almeida b89afe7b7c For #7092: Add initial Migration UI 4 years ago
Sebastian Kaspari a83717dd7b Run migration in background service.
In order to avoid a half done migration we are moving the migration to a background service (that is
running in the "foreground").

This is the Fenix part of:
https://github.com/mozilla-mobile/android-components/issues/4879
5 years ago
Sebastian Kaspari bb59ac6423 Issue #6622, #6688: Create a "fennecBeta" and "fennecNightly" build types. 5 years ago