diff --git a/WallPanelApp/build.gradle b/WallPanelApp/build.gradle index 2d1a723..4550a3e 100644 --- a/WallPanelApp/build.gradle +++ b/WallPanelApp/build.gradle @@ -29,8 +29,8 @@ repositories { def versionMajor = 0 def versionMinor = 9 -def versionPatch = 1 -def versionBuild = 0 // bump for dog food builds, public betas, etc. +def versionPatch = 2 +def versionBuild = 1 // bump for dog food builds, public betas, etc. android { kapt { diff --git a/WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/utils/ScreenUtils.kt b/WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/utils/ScreenUtils.kt index 7af87df..877e2e4 100644 --- a/WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/utils/ScreenUtils.kt +++ b/WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/utils/ScreenUtils.kt @@ -154,12 +154,10 @@ constructor(context: Context, private val configuration: Configuration): Context private fun canWriteScreenSetting(): Boolean { Timber.d("canWriteScreenSetting") var hasPermission = true - // Check for permisions if >= Android 6 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { hasPermission = Settings.System.canWrite(applicationContext) } - return hasPermission } } \ No newline at end of file