mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 15:07:49 -04:00
Add opt-in administrator lock restrictions (#3869)
(cherry picked from commit 7781c207f1)
This commit is contained in:
1 parent
2a636c7092
commit
430db4e493
24 files changed
+490
-50
No files matched your search
@@ -1102,6 +1102,8 @@ Item {
|
||||
}
|
||||
|
||||
function set(key: string, value: string): string {
|
||||
if (AdminPolicy.disableSettingsIpcSet)
|
||||
return "SETTINGS_SET_DISABLED";
|
||||
if (!(key in SettingsData)) {
|
||||
log.warn("Cannot set property, not found:", key);
|
||||
return "SETTINGS_INVALID_KEY";
|
||||
|
||||
Reference in new issue
Block a user