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

Commit e7e24a5f authored by Yuncheol Heo's avatar Yuncheol Heo Committed by Automerger Merge Worker
Browse files

Merge "Fix NPE in DisplayModeDirector.isDozeState()." into sc-dev am:...

Merge "Fix NPE in DisplayModeDirector.isDozeState()." into sc-dev am: a8547003 am: de810cdd am: 43fda003

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15482816

Change-Id: Icb7f93bdfd1e7179f7b6b2bb5df41cfa2d5780e6
parents 7adf142c 43fda003
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2524,6 +2524,9 @@ public class DisplayModeDirector {

        @Override
        public boolean isDozeState(Display d) {
            if (d == null) {
                return false;
            }
            return Display.isDozeState(d.getState());
        }