Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7783d863 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Remove mention of a defunct hidden setting

Also removed the setting from the allowlist - this in theory can break
apps that somehow ended up using it. I expect there are no such apps and nobody is using it, since it doesn't have @UnsupportedAppUsage, so to use it someone would actually have to copy it from the code.

Bug: 331750107
Change-Id: I8b3fb97f85075ea4faae90653bb10744318072dc
Test: TH
parent ae929258
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -12731,7 +12731,6 @@ public class DevicePolicyManager {
    @StringDef({
            Settings.System.SCREEN_BRIGHTNESS_MODE,
            Settings.System.SCREEN_BRIGHTNESS,
            Settings.System.SCREEN_BRIGHTNESS_FLOAT,
            Settings.System.SCREEN_OFF_TIMEOUT
    })
    @Retention(RetentionPolicy.SOURCE)
+0 −1
Original line number Diff line number Diff line
@@ -727,7 +727,6 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
        SYSTEM_SETTINGS_ALLOWLIST = new ArraySet<>();
        SYSTEM_SETTINGS_ALLOWLIST.add(Settings.System.SCREEN_BRIGHTNESS);
        SYSTEM_SETTINGS_ALLOWLIST.add(Settings.System.SCREEN_BRIGHTNESS_FLOAT);
        SYSTEM_SETTINGS_ALLOWLIST.add(Settings.System.SCREEN_BRIGHTNESS_MODE);
        SYSTEM_SETTINGS_ALLOWLIST.add(Settings.System.SCREEN_OFF_TIMEOUT);