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

Commit cbdf956b authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Revert "Fix broken status bar when activity is showing above keyguard""

parents 0153487d 2e50f28f
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ public class StatusBarKeyguardViewManager {
    private boolean mScreenOn = false;
    private KeyguardBouncer mBouncer;
    private boolean mShowing;
    private boolean mOccluded = false;

    public StatusBarKeyguardViewManager(Context context, ViewMediatorCallback callback,
            LockPatternUtils lockPatternUtils) {
@@ -103,11 +102,9 @@ public class StatusBarKeyguardViewManager {
    }

    public void showBouncer() {
        if (!mOccluded) {
        mBouncer.show();
        updateBackButtonState();
    }
    }

    /**
     * Reset the state of the view.
@@ -155,13 +152,6 @@ public class StatusBarKeyguardViewManager {
    }

    public void setOccluded(boolean occluded) {
        mOccluded = occluded;
        if (occluded) {
            mPhoneStatusBar.hideKeyguard();
            mBouncer.hide();
        } else {
            showBouncerOrKeyguard();
        }
        mStatusBarWindowManager.setKeyguardOccluded(occluded);
    }