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

Commit b0ff3a6c authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Ensure ResolverDrawerLayout is visible to accessibility services" into mnc-dev

parents 3c525c15 f45befe6
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -127,6 +127,8 @@ public class ResolverDrawerLayout extends ViewGroup {
        final ViewConfiguration vc = ViewConfiguration.get(context);
        mTouchSlop = vc.getScaledTouchSlop();
        mMinFlingVelocity = vc.getScaledMinimumFlingVelocity();

        setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_YES);
    }

    public void setSmallCollapsed(boolean smallCollapsed) {
@@ -592,11 +594,6 @@ public class ResolverDrawerLayout extends ViewGroup {
        return false;
    }

    @Override
    public CharSequence getAccessibilityClassName() {
        return ResolverDrawerLayout.class.getName();
    }

    @Override
    public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
        super.onInitializeAccessibilityNodeInfo(info);