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

Commit 80eaddd7 authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am 2b0eaffc: Merge "Hide lockscreen contents from a11y while bouncer is showing" into mnc-dev

* commit '2b0eaffc':
  Hide lockscreen contents from a11y while bouncer is showing
parents 3bf26f1d 2b0eaffc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -80,6 +80,14 @@ public class PanelBar extends FrameLayout {
        }
    }

    public void setBouncerShowing(boolean showing) {
        if (mPanelHolder != null) {
            mPanelHolder.setImportantForAccessibility(
                    showing ? IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS
                            : IMPORTANT_FOR_ACCESSIBILITY_AUTO);
        }
    }

    public float getBarHeight() {
        return getMeasuredHeight();
    }
+1 −0
Original line number Diff line number Diff line
@@ -3579,6 +3579,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
    @Override
    public void setBouncerShowing(boolean bouncerShowing) {
        super.setBouncerShowing(bouncerShowing);
        mStatusBarView.setBouncerShowing(bouncerShowing);
        disable(mDisabledUnmodified1, mDisabledUnmodified2, true /* animate */);
    }