1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-07 05:58:28 -04:00

lock: set LockedHint when locking with loginctl lock integration

- was previously read-only
fixes #2732
This commit is contained in:
bbedward
2026-07-02 22:57:09 -04:00
parent 31efe9b385
commit 186621ab81
4 changed files with 42 additions and 0 deletions
+6
View File
@@ -620,6 +620,12 @@ Singleton {
sendRequest("loginctl.unlock", null, callback);
}
function setLockedHint(locked, callback) {
sendRequest("loginctl.setLockedHint", {
"locked": locked
}, callback);
}
function bluetoothPair(devicePath, callback) {
sendRequest("bluetooth.pair", {
"device": devicePath