use system property to disable lockscreen

* d1645f8d0f
* This reverts commit 2632bb5db3.
This commit is contained in:
Konsta
2023-12-07 14:04:31 +02:00
parent 77d8091ba1
commit 810864227d
3 changed files with 6 additions and 3 deletions

View File

@@ -121,7 +121,4 @@
<bool name="config_cecTvSendStandbyOnSleepEnabled_default">false</bool>
<bool name="config_cecTvSendStandbyOnSleepDisabled_default">true</bool>
<!-- Is the lock-screen disabled for new users by default -->
<bool name="config_disableLockscreenByDefault">true</bool>
</resources>

View File

@@ -27,6 +27,9 @@
<!-- Disable location by default -->
<integer name="def_location_mode">0</integer>
<!-- Disable the lockscreen -->
<bool name="def_lockscreen_disabled">true</bool>
<!-- Keep screen on at all times by default -->
<bool name="def_stay_on_while_plugged_in">true</bool>

View File

@@ -68,6 +68,9 @@ ro.lmk.medium=800
ro.lmk.upgrade_pressure=100
ro.lmk.use_minfree_levels=true
# Lockscreen
ro.lockscreen.disable.default=true
# Media
debug.stagefright.c2inputsurface=-1