Skip to content

Mozilla is refactoring PBM on Android

It seems to me Mozilla has more or less refactored the access to PBM on Android between 141 and 142.

For example, it removed the option to always open the browser in PBM, in favor of adding a launcher item with an intent to open PBM from there.

It means we will have to be careful with our TB 34403 [android]: Disable Normal mode by default. patch.

Relevant commits:

  • 2af7989d (getModeFromIntentOrLastKnown was moved from mobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt to mobile/android/fenix/app/src/main/java/org/mozilla/fenix/browser/browsingmode/BrowsingModeManager.kt)
  • 8420027e (removal of the PBM from mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt?)
Edited by Pier Angelo Vendrame
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information