Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
Bump API versions to satisfy GPlay
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Jul 31, 2021
1 parent 5157f7a commit 954adba
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/eu/darken/bb/BackupButler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class BackupButler @Inject constructor(
buildTime = BuildConfig.BUILD_TYPE)
}

val checksumApkMd5: String by lazy {
val checksumApkMd5: String by lazy<String> {
val info = packageManager.getPackageInfo(context.packageName, 0)

val lastVersion = selfHealthPrefs.getLong("apk.chksm.version", 0)
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/eu/darken/bb/common/ClipboardHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ClipboardHelper @Inject constructor(
}

fun copyToClipboard(text: String) {
val clip = ClipData.newPlainText("SD Maid", text)
clipboard.primaryClip = clip
val clip = ClipData.newPlainText("Backup Butler", text)
clipboard.setPrimaryClip(clip)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ object AppInjector {

override fun onActivityStopped(activity: Activity) = Unit

override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle?) = Unit
override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle) = Unit

override fun onActivityDestroyed(activity: Activity) = Unit
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ object APathPicker {
}

fun fromActivityResult(data: Intent): Result {
return data.getParcelableExtra(ARG_PICKER_RESULT)
return data.getParcelableExtra(ARG_PICKER_RESULT)!!
}

fun toActivityResult(result: Result): Intent {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class LanguageEnforcer @Inject constructor(

override fun onActivityStopped(activity: Activity) = Unit

override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle?) = Unit
override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle) = Unit

override fun onActivityDestroyed(activity: Activity) = Unit
}
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ buildscript {
ext.kotlin_version = '1.3.72'

ext.buildConfig = [
'compileSdk': 28,
'compileSdk': 30,
'minSdk' : 21,
'targetSdk' : 28,
'buildtools': '28.0.3',
'targetSdk' : 30,
'buildtools': '30.0.3',

'version' : [
'major': 0,
Expand Down

0 comments on commit 954adba

Please sign in to comment.