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

Commit 5f0b120f authored by Adam He's avatar Adam He Committed by Android (Google) Code Review
Browse files

Merge "View gets View_importantForContentCapture from attributes."

parents 209944c7 b5e7d8f5
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -5803,6 +5803,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                        setImportantForAutofill(a.getInt(attr, IMPORTANT_FOR_AUTOFILL_AUTO));
                    }
                    break;
                case R.styleable.View_importantForContentCapture:
                    if (a.peekValue(attr) != null) {
                        setImportantForContentCapture(a.getInt(attr,
                                IMPORTANT_FOR_CONTENT_CAPTURE_AUTO));
                    }
                case R.styleable.View_defaultFocusHighlightEnabled:
                    if (a.peekValue(attr) != null) {
                        setDefaultFocusHighlightEnabled(a.getBoolean(attr, true));