diff options
author | Allan Wang <me@allanwang.ca> | 2019-09-22 23:02:03 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-09-22 23:02:03 -0700 |
commit | b82fadbff34ced9193f7b95e0d46dda5c33e9e08 (patch) | |
tree | 07a08ee718d4c7ddc3fd9d5ecdfef12714bbb610 | |
parent | 142b95f0ae82a849b1e9ef390a2a068b4c792be6 (diff) | |
download | frost-b82fadbff34ced9193f7b95e0d46dda5c33e9e08.tar.gz frost-b82fadbff34ced9193f7b95e0d46dda5c33e9e08.tar.bz2 frost-b82fadbff34ced9193f7b95e0d46dda5c33e9e08.zip |
Fix lint problems
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt | 3 | ||||
-rw-r--r-- | gradle.properties | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt index 4a7f25c2..42964bce 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/SettingsActivity.kt @@ -67,7 +67,7 @@ import kotlinx.coroutines.launch */ class SettingsActivity : KPrefActivity() { - var resultFlag = Activity.RESULT_CANCELED + private var resultFlag = Activity.RESULT_CANCELED companion object { private const val REQUEST_RINGTONE = 0b10111 shl 5 @@ -78,6 +78,7 @@ class SettingsActivity : KPrefActivity() { } override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { + super.onActivityResult(requestCode, resultCode, data) if (fetchRingtone(requestCode, resultCode, data)) return when (requestCode) { ACTIVITY_REQUEST_TABS -> { diff --git a/gradle.properties b/gradle.properties index e54c3bc5..85c9e4ee 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ org.gradle.daemon = true APP_ID=Frost APP_GROUP=com.pitchedapps -KAU=788cec5 +KAU=dba4c72 android.useAndroidX=true android.enableJetifier=true |