Skip to content

Commit

Permalink
fix: crash when changing wallpaper changer api after update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Oct 21, 2024
1 parent a222b1b commit e14f087
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 20 additions & 3 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,27 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 19,
"versionName": "4.1",
"versionCode": 27,
"versionName": "9.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
"elementType": "File",
"baselineProfiles": [
{
"minApi": 28,
"maxApi": 30,
"baselineProfiles": [
"baselineProfiles/1/app-release.dm"
]
},
{
"minApi": 31,
"maxApi": 2147483647,
"baselineProfiles": [
"baselineProfiles/0/app-release.dm"
]
}
],
"minSdkVersionForDexing": 21
}
2 changes: 1 addition & 1 deletion app/src/main/java/com/bnyro/wallpaper/util/Preferences.kt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object Preferences {
const val wallpaperChangerKey = "wallpaperChanger"
const val wallpaperChangerIntervalKey = "wallpaperChangerInterval"
const val wallpaperChangerNetworkTypeKey = "wallpaperChangerNetworkType"
private const val wallpaperChangerConfigKey = "wallpaperChangerConfig"
private const val wallpaperChangerConfigKey = "wallpaperChangerConfiguration"
const val combineWallpaperChangers = "combineWallpaperChangers"

const val defaultDiskCacheSize = 128L * 1024 * 1024
Expand Down

0 comments on commit e14f087

Please sign in to comment.