mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
Add shortcuts to lock screen, disable camera or mute
This commit is contained in:
@@ -22,6 +22,7 @@ class SharedPrefs(context: Context) {
|
||||
var lockPasswordHash by StringSharedPref("lock.password.sha256")
|
||||
var biometricsUnlock by BooleanSharedPref("lock.biometrics")
|
||||
var applicationsListView by BooleanSharedPref("applications.list_view", true)
|
||||
var shortcuts by BooleanSharedPref("shortcuts", true)
|
||||
}
|
||||
|
||||
private class BooleanSharedPref(val key: String, val defValue: Boolean = false): ReadWriteProperty<SharedPrefs, Boolean> {
|
||||
|
||||
Reference in New Issue
Block a user