diff options
author | Sujith Ramakrishnan <sujithrk@google.com> | 2017-07-18 18:35:14 -0700 |
---|---|---|
committer | Sujith Ramakrishnan <sujithrk@google.com> | 2017-09-07 16:19:53 -0700 |
commit | f8942c0c88f681da59d883aae2b7905d0d41bf37 (patch) | |
tree | b4ca038e49a77681f695b477aa58d834245ff7cf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0424bb7dadaf7bd834e9f909074a43d34997474a (diff) |
Make ASSIST launch VIS and add a new keycode for TV (ALL_APPS)
- KEYCODE_ASSIST: Looks for default VIS in system partition
and launches it.
- Ensure foreground activity assist context extras are collected
and sent to VIS.
- KEYCODE_ALL_APPS: Sends Intent.ACTION_ALL_APPS. For TV,
this targets default launcher package in system partition.
Test: Manual: ASSIST: adb shell input keyevent 219
Test: Manual: ALL_APPS: adb shell input keyevent 284
Test: also tested with --longpress for these keys
Test: Manual: Checked with dummy app populating overridden
onProvideAssistData()
Test: Keypresses after overriding ALL_APPS and ASSIST
on Nexus Remote
Bug: 37950079
Bug: 38496261
Change-Id: I96d9de67d4a442a8c6cb7feec28fc9aeb0dcbc18
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions