Commit Graph

28 Commits

Author SHA1 Message Date
Sebastian Kaspari
0198305bfb MigrationPushRenewer: Remove ExperimentalCoroutinesApi. 2020-03-19 16:11:53 -07:00
Jonathan Almeida
aad041c34c Fix breaking APIs in MigratingFenixApplication 2020-03-03 11:37:38 -08:00
Will Hawkins
f9b716286a For #8034: Create a post-visual completeness executor
Create an object that will execute its enqued tasks
when Fenix is visually complete.
2020-02-28 09:15:06 -08:00
Sebastian Kaspari
2096176fa6 Update MigrationService to use correct activity reference. 2020-02-26 11:11:12 +01:00
Sparky93
680249f724 Fix for #8722 - Update complete notification is not routing to onboarding screen
Now handling migration completed and clear states as routes to home screen.
2020-02-25 16:50:44 -05:00
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.
2020-02-17 11:34:13 +01:00
Jeff Boek
127169f5ff For mozilla-mobile#8172: Add a new 'E_Fennec_To_Fenix_Migrated' Leanplum event
This new event will be sent when the user has successfully migrated from Fennec
to Fenix.
This event will only be sent to Leanplum and not to the other telemetry
services like Glean or Adjust.

Co-authored-by: ValentinTimisica <valentin.timisica@softvision.ro>
2020-02-13 14:10:24 -08:00
Sparky93
1ed185d4c2 Fix for #7980 - MigrationStore's COMPLETE action now redirects to MigrationProgressActivity
In order to ensure that the user's migration screen is not being bypassed by mistake, we handle the
migration's store COMPLETED state the same way we handle the MIGRATING state.

We can do this because we can treat the initial state (NONE) as being either a fresh start of the
app, either the user's intention of starting the home activity.

Before this change, if the app was being open from the shortcut after the migration was complete,
the user would have been encountered the home activity instead of the migration one.
2020-02-11 16:41:20 +01:00
Vlad Baicu
0fc9459d99 Fix for #8024 - Provide activity class for the migration's service notification content intent. 2020-02-11 16:27:53 +01:00
Grisha Kruglov
7a272a4564 Enable fennec Pinned Sites migration 2020-02-10 08:19:30 +01:00
Sebastian Kaspari
75e0baf59c Try to migrate default search engine. 2020-02-06 11:48:10 +01:00
Christian Sadilek
d10a30e356 Closes #4983: Fennec migration: Keep installed add-ons 2020-02-05 09:14:04 -05:00
Sebastian Kaspari
18244cef51 Closes #7762: Initialize Glean later in Fennec builds. 2020-01-26 11:53:26 +01:00
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).
2020-01-24 18:03:25 -08:00
Sebastian Kaspari
e5ba74711d MigratingFenixApplication: Pass MigrationStore to FennecMigrator. 2020-01-21 14:38:08 +02:00
Grisha Kruglov
9c25d274d0 Enable firebase auto-init, force push renewal after migration 2020-01-16 01:11:21 -05:00
Jonathan Almeida
93850a2410 Add migration for telemetry identifiers to builder 2020-01-15 21:41:01 -08:00
Jonathan Almeida
914bce0b0a Fix general Fenix build 2020-01-15 21:41:01 -08:00
Jonathan Almeida
261a6162af Review comments, fix build failure and targetActivity 2020-01-15 21:41:01 -08:00
Jonathan Almeida
b89afe7b7c For #7092: Add initial Migration UI 2020-01-15 21:41:01 -08:00
Jonathan Almeida
61570b5238 Closes #7645: Disable push service when migrating 2020-01-15 02:10:56 -05:00
Christian Sadilek
56acf0c360 Issue #4893: Enable addon migration 2020-01-14 17:43:21 -05:00
Grisha Kruglov
fe92332ff1 Migrate 'settings' before app init 2020-01-14 17:27:41 +01:00
Sebastian Kaspari
e3408b12b4 Update Mozilla Android Components to 28.0.0-SNAPSHOT. 2020-01-08 18:57:31 -05:00
Grisha Kruglov
72d8dfb976 Enable Fennec settings (telemetry) migration 2019-12-11 19:16:55 -08:00
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
2019-12-10 11:31:32 +01:00
Grisha Kruglov
42d6915699 Fennec migration: enable logins migration 2019-12-09 13:35:22 -08:00
Sebastian Kaspari
bb59ac6423 Issue #6622, #6688: Create a "fennecBeta" and "fennecNightly" build types. 2019-11-27 10:28:22 -08:00