1
0
Fork 0

Issue #4873: Use manifest placeholder to inject sharedUserId.

master
Sebastian Kaspari 2019-08-26 17:02:11 +02:00
parent 754c577682
commit 3fb22a12b6
2 changed files with 9 additions and 1 deletions

View File

@ -72,6 +72,14 @@ android {
fennecProduction releaseTemplate >> {
buildConfigField "boolean", "USE_RELEASE_VERSIONING", "true"
applicationIdSuffix ".firefox"
manifestPlaceholders = [
// This release type is meant to replace Firefox (Release channel) and therefore needs to inherit
// its sharedUserId for all eternity. Shipping an app update without sharedUserId can have
// fatal consequences. For example see:
// - https://issuetracker.google.com/issues/36924841
// - https://issuetracker.google.com/issues/36905922
"sharedUserId": "org.mozilla.firefox.sharedID"
]
}
}

View File

@ -7,6 +7,6 @@
- https://issuetracker.google.com/issues/36905922
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:sharedUserId="org.mozilla.firefox.sharedID">
android:sharedUserId="${sharedUserId}">
</manifest>