diff options
author | Qasid Ahmad Sadiq <qasid@google.com> | 2018-08-15 15:31:28 -0700 |
---|---|---|
committer | Qasid Sadiq <qasid@google.com> | 2018-08-15 22:41:32 +0000 |
commit | 2a53ad9e4dfb82b2b21b129a609d439269fb283c (patch) | |
tree | cbceab7afdb760f4e7ce70ce1edf0dca0bcb8696 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b4dac16057bb5b724392240e13a5281ed5293e04 (diff) |
isFocusable should also check for clear focus.
Caused by: ag/4401555
AccessibilityNodeInfo.isFocusable was changed to use actions.
In ani.isFocusable we should also check of the existance of the clear
focus action.
While I am here, clean up the View so it doesn't use deprecated and
inconsequential calls anymore. The appropriate actions were already
being created a few lines below the removed lines.
And in hasActionWithId, let's not allocate an iterator needlessly.
Test: Ran Accessibility Service CTS Tests.
Fix: 111887592
Change-Id: Iece7f1bdcaeac9b23135777984ef4ec314519284
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions