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

Commit a8547003 authored by Yuncheol Heo's avatar Yuncheol Heo Committed by Android (Google) Code Review
Browse files

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

parents ccdd40e5 980fc0e1
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());
        }