Skip to content

Tags: Thunder2425/android-components

Tags

v22.0.0

Toggle v22.0.0's commit message
Merge mozilla-mobile#5053

5053: Closes mozilla-mobile#2229: Encrypted-at-rest FxA state storage support r=csadilek a=grigoryk

This patch adds a version of `AccountStorage` which is backed by an encrypted-at-rest shared-prefs implementation,
`SecureAbove22Preferences`. As the name suggests, encryption at rest is enabled only for Android API levels 23+.
Otherwise, plaintext storage is used. `SecureAbove22Preferences` will handle API level upgrades behind the scenes,
if necessary.

In order to support rolling this out, `SecureAbove22AccountStorage` automatically migrates account state if it was
present in `SharedPrefAccountStorage`. And vice-versa, `SharedPrefAccountStorage` will automatically migrate account
state if it was present in `SecureAbove22AccountStorage`. This allows applications to easily switch between two
implementations, without any ill-effects.

In order to monitor storage implementations for abnormalities (such as disappearing encryption keys), an optional
`CrashReporter` instance may be configured now via FxaAccountManager.

`DeviceConfig` gained a `secureStateAtRest` flag, which allows applications to specify if they'd like to encrypt
account state. This config object isn't a perfect fit for this flag, but it's close enough conceptually.




Co-authored-by: Grisha Kruglov <[email protected]>

v18.0.1

Toggle v18.0.1's commit message
Bug 1595808 - Bump taskgraph to the latest revision

v21.0.0

Toggle v21.0.0's commit message
Bug 1595808 - Bump taskgraph to the latest revision

v20.0.0

Toggle v20.0.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Merge mozilla-mobile#4959

4959: Experiments: Make version comparisons more tolerant of invalid versions r=ekager a=mythmon

Fixes mozilla-mobile#4957




Co-authored-by: Mike Cooper <[email protected]>

v19.0.1

Toggle v19.0.1's commit message
Set version to 19.0.1.

v19.0.0

Toggle v19.0.0's commit message
Merge mozilla-mobile#4860

4860: For issue mozilla-mobile#4839: update tracking protection policies. r=csadilek a=Amejia481



Co-authored-by: Arturo Mejia <[email protected]>

v18.0.0

Toggle v18.0.0's commit message
Merge mozilla-mobile#4693

4693: Fennec data migration scaffolding r=pocmo a=grigoryk

This is going to be a rolling PR for a little bit, until this is ready to land.
Companion Fenix PR: mozilla-mobile/fenix#5878

Workflow for testing it:
- fetch an ESR68 build from TC: https://tools.taskcluster.net/index/gecko.v2.mozilla-esr68.signed-nightly.nightly.latest.mobile
- re-sign it using a local debug keystore:
  - `zip -d target.apk "META-INF/*"`
  - `~/Code/mozilla-central/mobile/android/debug_sign_tool.py target.apk`
- enable auto-publication workflow for a-c in fenix
- assemble fennecProduction version of Fenix (built against this branch, see auto-publication)
  - `./gradlew assembleFennecProduction`
- sign it using keys used to sign fennec esr apk (otherwise we won't be able to overwrite one with another):
  - `~/Code/mozilla-central/mobile/android/debug_sign_tool.py app/build/outputs/apk/geckoBeta/fennecProduction/app-geckoBeta-x86-fennecProduction-unsigned.apk`
- install fennec esr apk build
- generate some profile data for migration (sign-into fxa, browse around, etc..)
- install fenix build: `adb install -r app/build/outputs/apk/geckoBeta/fennecProduction/app-geckoBeta-x86-fennecProduction-unsigned.apk`

TODO:
- currently needs mozilla/application-services#1942 to work
- add separate migration versioning for history and bookmarks; currently the whole thing is versioned
- add migration tests
  - in fennec, we have a bunch of "schema migration" tests that operate over older versions of browser.db
  - this is a good approach here as well - we can run migration code in tests against a few test db files, that exercise various history/bookmarks configurations and try multiple schema versions
- improve the workflow around this, it's quite tedious currently

Co-authored-by: Grisha Kruglov <[email protected]>

v17.0.0

Toggle v17.0.0's commit message
Merge mozilla-mobile#4722

4722: 1587405: Allow recording the empty string list r=mdboom a=mdboom



Co-authored-by: Michael Droettboom <[email protected]>

v16.0.0

Toggle v16.0.0's commit message
Import l10n.

v15.0.0

Toggle v15.0.0's commit message
Merge mozilla-mobile#4541

4541: Bug 1583870 - Start converting a-c to taskgraph r=pocmo a=JohanLorenzo



Co-authored-by: Johan Lorenzo <[email protected]>