Skip to content

Commit

Permalink
* bump version number and merged pull requests upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
thanksmister committed May 8, 2020
1 parent bf38445 commit fbf4974
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions WallPanelApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit fbf4974

Please sign in to comment.