Skip to content

Commit e14f087

Browse files
committed
fix: crash when changing wallpaper changer api after update
1 parent a222b1b commit e14f087

6 files changed

Lines changed: 51 additions & 7 deletions

File tree

‎.idea/compiler.xml‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/gradle.xml‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/inspectionProfiles/Project_Default.xml‎

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/misc.xml‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎app/release/output-metadata.json‎

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,27 @@
1111
"type": "SINGLE",
1212
"filters": [],
1313
"attributes": [],
14-
"versionCode": 19,
15-
"versionName": "4.1",
14+
"versionCode": 27,
15+
"versionName": "9.0",
1616
"outputFile": "app-release.apk"
1717
}
1818
],
19-
"elementType": "File"
19+
"elementType": "File",
20+
"baselineProfiles": [
21+
{
22+
"minApi": 28,
23+
"maxApi": 30,
24+
"baselineProfiles": [
25+
"baselineProfiles/1/app-release.dm"
26+
]
27+
},
28+
{
29+
"minApi": 31,
30+
"maxApi": 2147483647,
31+
"baselineProfiles": [
32+
"baselineProfiles/0/app-release.dm"
33+
]
34+
}
35+
],
36+
"minSdkVersionForDexing": 21
2037
}

‎app/src/main/java/com/bnyro/wallpaper/util/Preferences.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object Preferences {
2424
const val wallpaperChangerKey = "wallpaperChanger"
2525
const val wallpaperChangerIntervalKey = "wallpaperChangerInterval"
2626
const val wallpaperChangerNetworkTypeKey = "wallpaperChangerNetworkType"
27-
private const val wallpaperChangerConfigKey = "wallpaperChangerConfig"
27+
private const val wallpaperChangerConfigKey = "wallpaperChangerConfiguration"
2828
const val combineWallpaperChangers = "combineWallpaperChangers"
2929

3030
const val defaultDiskCacheSize = 128L * 1024 * 1024

0 commit comments

Comments
 (0)