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

Commit 4bf70f5f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix initial StatusBar wiping out disabled state"

parents 63890300 00659bad
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -177,6 +177,10 @@ public class CommandQueue extends IStatusBar.Stub {
        disable(state1, state2, true);
    }

    public void recomputeDisableFlags(boolean animate) {
        disable(mDisable1, mDisable2, animate);
    }

    public void animateExpandNotificationsPanel() {
        synchronized (mLock) {
            mHandler.removeMessages(MSG_EXPAND_NOTIFICATIONS);
+1 −1
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@ import android.animation.LayoutTransition.TransitionListener;
import android.animation.ObjectAnimator;
import android.animation.TimeInterpolator;
import android.animation.ValueAnimator;
import android.app.ActivityManager;
import android.annotation.DrawableRes;
import android.app.ActivityManager;
import android.app.StatusBarManager;
import android.content.Context;
import android.content.res.Configuration;
+1 −1
Original line number Diff line number Diff line
@@ -2510,7 +2510,7 @@ public class StatusBar extends SystemUI implements DemoMode,
     * This needs to be called if state used by {@link #adjustDisableFlags} changes.
     */
    public void recomputeDisableFlags(boolean animate) {
        mCommandQueue.disable(mDisabledUnmodified1, mDisabledUnmodified2, animate);
        mCommandQueue.recomputeDisableFlags(animate);
    }

    protected H createHandler() {