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

Commit a368f57b authored by Chen Xu's avatar Chen Xu
Browse files

use @SystemAPI for android.view.display

Bug: 137202333
Test: Maunal & Build
Change-Id: Ic677a6a29f1be0da7b0b80b8ce83a516b84d70cd
parent 0a5ba33b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -651,7 +651,7 @@ public class DeviceStateMonitor extends Handler {
                // Anything other than STATE_ON is treated as screen off, such as STATE_DOZE,
                // STATE_DOZE_SUSPEND, etc...
                if (display.getState() == Display.STATE_ON) {
                    log("Screen " + Display.typeToString(display.getType()) + " on", true);
                    log("Screen on for display=" + display, true);
                    return true;
                }
            }