2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
rxu
efdb30483a Add domestic China FxA service for Mozilla Online builds
China fxa related string

Add switch preference in settings to use local/global fxa server

inherit fennec FxA settings

Present or hide fxa switch according to isMozillaonline

Allow China fxa server auto login during migration
2021-04-07 23:40:59 -07:00
Christian Sadilek
ef8d07fadf Fix breaking API change in FennecMigrator 2021-01-26 19:06:02 -05:00
Sebastian Kaspari
2b759e9d6f Integrate new search code from Android Components into Fenix. 2020-11-20 17:45:45 +01:00
MarcLeclair
7b1af41b40
15278 detekt rule runblocking (#15942)
* For #15278: added CoroutineManager to count runBlocking calls

* For #15278: Added actual detekt rule for runblocking and its config to the yaml

* For #15278: Added unit test for RunblockingCounter

* For #15278: renamed StrictModeStartupSuppressionCountTest.kt to PerformanceStartupTest.kt and added runBlockingCount test

* Lint fix

* For #15278: made runblocking a Long to prevent overflow

* For #15278: fixed MozRunblocking name, description and moved RunBlockingCounter to perf package

* For #15278:Renamed MozillaRunblockingCheck to MozillaRunBlockingCheck

* For #15278: Added setup for unit test, since it failed without restting counter

* For #15278: Fixed naming for RunBlocking lint check

* For #15278: removed changes made to test to use runBlockingIncrement

* For #15728: added test exclusion for runBlocking check

* For #15278: changed null check and added Synchronized to count setter

* For #15278: fix for nits

* For #15278: added StartupExcessiveResourceUseTest to CODEOWNERS

* For #15278: fixed for nits

* For #15278: Moved increment function to extension function and fixed indentation

* For #15278: Added tests for Atomic Integer extension and nit fix
2020-11-02 12:49:17 -05:00
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.
2020-09-23 18:05:05 +02:00
Gabriel Luong
1f564c10ce For #10342 - Part 4: Use the TopSitesFeature in the HomeFragment for displaying top sites 2020-08-26 18:39:05 -04:00
Tiger Oakes
d0e9f1f165
Update Kotlin dependency (#10806) 2020-07-15 18:02:58 -07:00
MarcLeclair
c6415ce18f
For 11616: removed black flicker with placeholder animation (#11796)
Increasing duration removed second "light" flicker
2020-06-26 20:10:22 -04:00
Michael Comella
f49fc6dad2 For #8803: hook up frameworkStart metric. 2020-04-17 09:11:58 -07:00
Grisha Kruglov
20f8b97dcb Pass lazy references to FennecMigrator 2020-03-26 11:57:45 -07:00
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