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

Commit 76325616 authored by Adrian Roos's avatar Adrian Roos
Browse files

AOD: Disable not-yet-ready always-on feature

Fixes: 37982136
Test: Verify Ambient Display options are gone from SysuiTuner on userdebug builds
Merged-In: I0b20ba7c352bac7c278f659f0e29496cc342d381
Change-Id: Id61e5fa8f3c42ea17e6e878ec1c8a2555fe93320
parent dadc0563
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -80,8 +80,8 @@ public class AmbientDisplayConfiguration {
    }
    }


    public boolean alwaysOnAvailable() {
    public boolean alwaysOnAvailable() {
        // TODO: introduce config_dozeAlwaysOnAvailable. For now just debuggable builds.
        // Does not work properly yet.
        return Build.IS_DEBUGGABLE && ambientDisplayAvailable();
        return false;
    }
    }


    public String ambientDisplayComponent() {
    public String ambientDisplayComponent() {