Commit 0b4263bc authored by Xing Liu's avatar Xing Liu Committed by Chromium LUCI CQ

Read later: Ignore talkback for more icon when selects a bookmark row.

When the more icon in BookmarkRow is disabled in selection mode, let
talkback ignores this view.

Bug: 1166730
Change-Id: I657892b0c7c297b5bf5254440ab41ff0d20453a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2637082Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Commit-Queue: Xing Liu <xingliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844983}
parent c0015aa9
......@@ -114,6 +114,9 @@ public abstract class BookmarkRow
mMoreIcon.setVisibility(bookmarkItem.isEditable() ? VISIBLE : GONE);
mMoreIcon.setClickable(!isSelectionModeActive());
mMoreIcon.setEnabled(mMoreIcon.isClickable());
mMoreIcon.setImportantForAccessibility(mMoreIcon.isClickable()
? IMPORTANT_FOR_ACCESSIBILITY_YES
: IMPORTANT_FOR_ACCESSIBILITY_NO);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment