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

Commit 7516f599 authored by Hawkwood Glazier's avatar Hawkwood Glazier Committed by Android (Google) Code Review
Browse files

Merge "Move initial ZenMode query to background" into main

parents 7b2ed1be 77b012a7
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -421,10 +421,12 @@ constructor(
        smallTimeListener?.update(shouldTimeListenerRun)
        largeTimeListener?.update(shouldTimeListenerRun)

        bgExecutor.execute {
            // Query ZenMode data
            zenModeCallback.onZenChanged(zenModeController.zen)
            zenModeCallback.onNextAlarmChanged()
        }
    }

    fun unregisterListeners() {
        if (!isRegistered) {