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

Commit 4c7d9603 authored by Adrian Roos's avatar Adrian Roos
Browse files

Hide keyguard status view from a11y when QS expanded

Bug: 20535583
Bug: 20343910
Change-Id: I1919508ae3c532577e1a9eec4a36aed15a6222de
parent 14410b0a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1861,6 +1861,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,

    public void setQsExpanded(boolean expanded) {
        mStatusBarWindowManager.setQsExpanded(expanded);
        mKeyguardStatusView.setImportantForAccessibility(expanded
                ? View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS
                : View.IMPORTANT_FOR_ACCESSIBILITY_AUTO);
    }

    public boolean isGoingToNotificationShade() {