diff options
author | Adam Powell <adamp@google.com> | 2017-02-03 11:50:42 -0800 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2017-02-07 10:44:37 -0800 |
commit | 0f552f4d50c40c60b5de315d6f3dc480ebd97888 (patch) | |
tree | 63ca6b7b4842374cd758dbb81b583c0a83943d48 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 40eb0ba4277823ea794fb54096a621934e6f5dd1 (diff) |
Provide old behavior for View#hasFocusable to old apps
Existing apps have copies of ListView behavior that expects the old
hasFocusable behavior of only reporting explicitly focusable views.
Use targetSdkVersion to give the old behavior to existing apps.
Add hasExplicitFocusable method to View to offer the old behavior
to apps that need it. ViewCompat method required in support library
to shim through to hasFocusable pre-O.
Bug: 34946284
Test: CTS
Change-Id: I65503fa2c5fe4cb8b635efa464e653bbf5e7f821
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions