summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2020-07-24 02:06:11 +0200
committerRobin Lee <rgl@google.com>2020-07-24 02:43:03 +0200
commit8b1107d24eba0a55fa9e89094e4307cac4fdd74c (patch)
treeeea2efcbefac8548cf60bca2b17855a670aacc56 /tools/aapt2/java/JavaClassGenerator.cpp
parente3ad82a25cd49695aa66622e89daa8266041bbf3 (diff)
Keyboard navigation for CompanionDeviceTestActivity
Problem: 1) Open CTS Verifier > Companion Device Test > Go 2) Click some items 3) Find that they can't open and so the test is failed. Root cause: - Pressing the view triggers the OnItemClickListener instead of the OnClickListener because the container is an AdapterView and that is how AdapterView handles keyboard input. Solution: - Add a ListView setOnItemClickListener function to handle the keyboard actions. Remove the original touch listener because this is not needed any more. Test: make dist Test: manual (go through CTS Verifier) Bug: 161863859 Test: manualTests#com.android.cts.verifier.companion.CompanionDeviceTestActivity Change-Id: Idf8867afae35f243c44ee726e444febb3209d357
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions