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

Commit 1fc1d504 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: a8547003 am: 799fe2c3

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

Change-Id: Ia9b9bee1996134b0a0558b925dce61f2eeca5856
parents 5c43e481 799fe2c3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2526,6 +2526,9 @@ public class DisplayModeDirector {

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