diff options
author | Sujith Ramakrishnan <sujithrk@google.com> | 2017-07-18 18:35:14 -0700 |
---|---|---|
committer | Sujith Ramakrishnan <sujithrk@google.com> | 2017-08-30 13:53:49 -0700 |
commit | 99aaa8d16c9af1aecfb713af639240149009e2b7 (patch) | |
tree | 713f548eb27a40d22c08e0cbd45675e793d466f5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1cdf4244f45ed58546303e2a37a74e5db2f3409c (diff) |
Make ASSIST launch VIS and add a 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