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

Commit a2f880d4 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by android-build-merger
Browse files

Merge "Fix all issues with SystemUI visibility and transitions" into oc-dev

am: c5b2bf18

Change-Id: I3cd753050489728c6bf1fdf12f315d444a49cdd7
parents ef8d59b6 c5b2bf18
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -341,14 +341,12 @@ public class CommandQueue extends IStatusBar.Stub {

    public void appTransitionPending(boolean forced) {
        synchronized (mLock) {
            mHandler.removeMessages(MSG_APP_TRANSITION_PENDING);
            mHandler.obtainMessage(MSG_APP_TRANSITION_PENDING, forced ? 1 : 0, 0).sendToTarget();
        }
    }

    public void appTransitionCancelled() {
        synchronized (mLock) {
            mHandler.removeMessages(MSG_APP_TRANSITION_CANCELLED);
            mHandler.sendEmptyMessage(MSG_APP_TRANSITION_CANCELLED);
        }
    }
@@ -359,7 +357,6 @@ public class CommandQueue extends IStatusBar.Stub {

    public void appTransitionStarting(long startTime, long duration, boolean forced) {
        synchronized (mLock) {
            mHandler.removeMessages(MSG_APP_TRANSITION_STARTING);
            mHandler.obtainMessage(MSG_APP_TRANSITION_STARTING, forced ? 1 : 0, 0,
                    Pair.create(startTime, duration)).sendToTarget();
        }
@@ -368,7 +365,6 @@ public class CommandQueue extends IStatusBar.Stub {
    @Override
    public void appTransitionFinished() {
        synchronized (mLock) {
            mHandler.removeMessages(MSG_APP_TRANSITION_FINISHED);
            mHandler.sendEmptyMessage(MSG_APP_TRANSITION_FINISHED);
        }
    }
+1 −1
Original line number Diff line number Diff line
@@ -5325,7 +5325,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
    @Override
    public void applyPostLayoutPolicyLw(WindowState win, WindowManager.LayoutParams attrs,
            WindowState attached, WindowState imeTarget) {
        final boolean visible = !win.isGoneForLayoutLw() && win.getAttrs().alpha > 0f;
        final boolean visible = win.isVisibleLw() && win.getAttrs().alpha > 0f;
        if (DEBUG_LAYOUT) Slog.i(TAG, "Win " + win + ": isVisible=" + visible);
        applyKeyguardPolicyLw(win, imeTarget);
        final int fl = PolicyControl.getWindowFlags(win, attrs);