From fbf4974d56b35ee9449317393a59e5434ca7b674 Mon Sep 17 00:00:00 2001 From: Michael Ritchie Date: Fri, 8 May 2020 17:10:36 -0300 Subject: [PATCH] * bump version number and merged pull requests upstream --- WallPanelApp/build.gradle | 4 ++-- .../java/com/thanksmister/iot/wallpanel/utils/ScreenUtils.kt | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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