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

Commit 74360475 authored by Chen Xu's avatar Chen Xu Committed by Gerrit Code Review
Browse files

Merge "use @SystemAPI for android.view.display"

parents 1ef66cc3 c5f3444a
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;
                }
            }