OSDN Git Service

Ignore nested keyboard navigation clusters
authorEvan Rosky <erosky@google.com>
Mon, 10 Apr 2017 19:35:15 +0000 (12:35 -0700)
committerEvan Rosky <erosky@google.com>
Thu, 13 Apr 2017 01:18:25 +0000 (18:18 -0700)
commit0e8a6832947b074e36834736f55d63f445f604b1
tree7a64b470546be4601e5f78c97c1bbd4110e73f47
parent055b51af2860c4457041582233c9cdf9b34e1487
Ignore nested keyboard navigation clusters

Keyboard navigation clusters should not be nested; however,
if they are, the behavior is to pretend like they aren't
clusters. This includes ignoring the keyboardNavigationCluster
+ touchscreenBlocksFocus combo altogether.

Bug: 32804858
Test: Added some nested cluster scenarios to ViewGroupTest CTS
Change-Id: I776942842b8c1147200fc39f7eacca493e37c20c
core/java/android/view/FocusFinder.java
core/java/android/view/View.java
core/java/android/view/ViewGroup.java