Skip to content

Commit

Permalink
Remove hasFragileUserData from the app manifest
Browse files Browse the repository at this point in the history
It was effectively unused, and only caused issues for users, even after proper implementation that enabled it on signed builds only.
  • Loading branch information
nickbeth committed Jan 4, 2024
1 parent da33f10 commit c3f14ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
11 changes: 3 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,8 @@ android {
abiFilters "arm64-v8a"
}

if (isBuildSigned)
manifestPlaceholders += [shouldSaveUserData: "true"]
else
manifestPlaceholders += [shouldSaveUserData: "false"]

// Only enable separate process for release builds
manifestPlaceholders += [emulationProcess: ""]
// Disable the use of a separate process for emulation by default
manifestPlaceholders["emulationProcess"] = ""

def locales = ["en", "de", "el", "es", "es-419", "fr", "hu", "id", "it", "ja", "ko", "pl", "ru", "ta", "zh-Hans", "zh-Hant"]

Expand Down Expand Up @@ -85,7 +80,7 @@ android {
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig = isBuildSigned ? signingConfigs.ci : signingConfigs.debug
manifestPlaceholders += [emulationProcess: ":emulationProcess"]
manifestPlaceholders["emulationProcess"] = ":emulationProcess"
}

reldebug {
Expand Down
1 change: 0 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
android:allowBackup="true"
android:extractNativeLibs="true"
android:fullBackupContent="@xml/backup_descriptor"
android:hasFragileUserData="${shouldSaveUserData}"
android:icon="@drawable/logo_skyline"
android:isGame="true"
android:label="@string/app_name"
Expand Down

0 comments on commit c3f14ba

Please sign in to comment.