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

Commit 33bf969b authored by Riley Jones's avatar Riley Jones Committed by Android (Google) Code Review
Browse files

Merge "Changing ActionMenuItemView to provide the Button class name to accessibility services."

parents 29d09e24 5eb017c1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -94,6 +94,11 @@ public class ActionMenuItemView extends TextView
        updateTextButtonVisibility();
    }

    @Override
    public CharSequence getAccessibilityClassName() {
        return android.widget.Button.class.getName();
    }

    /**
     * Whether action menu items should obey the "withText" showAsAction flag. This may be set to
     * false for situations where space is extremely limited. -->