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

Commit c7fa90a2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check for null for race with DreamManagerService" into main

parents 8d635b86 e3194e46
Loading
Loading
Loading
Loading
+5 −1
Original line number Original line Diff line number Diff line
@@ -230,9 +230,13 @@ public final class DozeServiceHost implements DozeHost {
            mDozingRequested = true;
            mDozingRequested = true;
            updateDozing();
            updateDozing();
            mDozeLog.traceDozing(mStatusBarStateController.isDozing());
            mDozeLog.traceDozing(mStatusBarStateController.isDozing());
            // This is initialized in a CoreStartable, but binder calls from DreamManagerService can
            // arrive earlier
            if (mCentralSurfaces != null) {
                mCentralSurfaces.updateIsKeyguard();
                mCentralSurfaces.updateIsKeyguard();
            }
            }
        }
        }
    }


    void updateDozing() {
    void updateDozing() {
        Assert.isMainThread();
        Assert.isMainThread();