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
2 files changed