Skip to content

Use custom built Glean package on Android

When I made the application-services no-op patch I understood that the Glean Kotlin bindings were coming from the application-services Android package.

Turns out it is not.

The Glean Rust code is in fact coming from the megazord inside application-services, so the no-op works is still applied there. But the bindings are not no-op, so they attempt to call on to Rust code that doesn't exist. This is causing crashes for me on the 141 debug branches due to calls to some Glean debug methods in https://searchfox.org/mozilla-central/source/mobile/android/fenix/app/src/main/java/org/mozilla/fenix/debugsettings/ui/FenixOverlay.kt#84-85

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information