Bug 1803207 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

During a performance investigation, Arturo, Christian and I noticed an uptick in our APK size by 1.7Mb. After looking into this, we discovered that this was a regression documented in bug 1799002 which means the apk increased for adding some locales that were missing.

However, we noticed that there were locales which were packaged into the omni.ja which were also not required too because they are already localized in the application side (addresses and credit cards). For example, in `chrome/en-GB/locale/en-GB/browser/browser.properties` we have resources for `webextPerms` which are unused in GeckoView/Fenix.

These duplicates are also packaged in a way that we can't strip them out after the fact the way we can locale strings.xml and layout files.

This issue is therefore to investigate what are the things that live in the omni.ja for Android and see if there are better ways to avoid packaging resources.
During a performance investigation, Arturo, Christian and I noticed an uptick in our APK size by 1.7Mb. After looking into this, we discovered that this was a regression documented in bug 1799002 which was fixed that caused the apk increase that added some locales which were missing.

However, we noticed that there were locales which were packaged into the omni.ja which were also not required too because they are already localized in the application side (addresses and credit cards). For example, in `chrome/en-GB/locale/en-GB/browser/browser.properties` we have resources for `webextPerms` which are unused in GeckoView/Fenix.

These duplicates are also packaged in a way that we can't strip them out after the fact the way we can locale strings.xml and layout files.

This issue is therefore to investigate what are the things that live in the omni.ja for Android and see if there are better ways to avoid packaging resources.

Back to Bug 1803207 Comment 0