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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user