Skip to content

Commit 49502c9

Browse files
authored
Merge pull request #243 from Hepolise/dev
Fix(build): resolve build warnings
2 parents 6137568 + e7942fb commit 49502c9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

app/src/main/java/ru/hepolise/volumekeytrackcontrol/ui/component/VibrationEffectSetting.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ private val VibrationEffectTitles = VibrationType.values.associateWith {
6161
VibrationType.DoubleClick -> R.string.vibration_effect_double_click
6262
VibrationType.HeavyClick -> R.string.vibration_effect_heavy_click
6363
VibrationType.Tick -> R.string.vibration_effect_tick
64-
else -> throw IllegalStateException("Unknown VibrationType: $it")
6564
}
6665
} else {
6766
throw IllegalStateException("VibrationType is not supported on this API level")

gradle.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ kotlin.code.style=official
2020
# Enables namespacing of each library's R class so that its R class includes only the
2121
# resources declared in the library itself and none from the library's dependencies,
2222
# thereby reducing the size of the R class for that library
23-
android.nonTransitiveRClass=true
24-
android.nonFinalResIds=false
23+
android.nonTransitiveRClass=true

0 commit comments

Comments
 (0)