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

Commit a8221afd authored by Chen Xu's avatar Chen Xu Committed by android-build-merger
Browse files

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

am: 74360475

Change-Id: I5373323bc5b8022a6c9f513692e4b3982453bf6d
parents f0a795d0 74360475
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;
                }
            }