summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2017-02-03 11:50:42 -0800
committerAdam Powell <adamp@google.com>2017-02-07 10:44:37 -0800
commit0f552f4d50c40c60b5de315d6f3dc480ebd97888 (patch)
tree63ca6b7b4842374cd758dbb81b583c0a83943d48 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent40eb0ba4277823ea794fb54096a621934e6f5dd1 (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