Make wakelock disabled by default
This commit is contained in:
parent
4855ba7d32
commit
5286e02c9c
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class Repository(private val sharedPrefs: SharedPreferences, private val subscri
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getWakelockEnabled(): Boolean {
|
fun getWakelockEnabled(): Boolean {
|
||||||
return sharedPrefs.getBoolean(SHARED_PREFS_WAKELOCK_ENABLED, true) // Enabled by default
|
return sharedPrefs.getBoolean(SHARED_PREFS_WAKELOCK_ENABLED, false) // Disabled by default!
|
||||||
}
|
}
|
||||||
|
|
||||||
fun setWakelockEnabled(enabled: Boolean) {
|
fun setWakelockEnabled(enabled: Boolean) {
|
||||||
|
|
Loading…
Reference in a new issue