summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author DingYong <dingyong2@lenovo.corp-partner.google.com> 2022-11-11 21:30:54 +0800
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-03-01 01:45:03 +0000
commit8a2ac0f14b010963b7f16a22434524477becc488 (patch)
tree35840396a5348f314d2686041794db8a6469715f /cmds/bootanimation/BootAnimationUtil.cpp
parent2e528630e899f8cd24dbc0e56e2591a81578d1dd (diff)
Call a search activity when using KEYCODE_SEARCH
This change adds the ability to change the behavior of the search key to open a search activity instead of attempting to start the search activity of the currently opened app. The new behavior remains the same by default, but now it can be changed to either do nothing or open a configured activity; in this mode, if no activity has been configured, the `ACTION_WEB_SEARCH` Intent will be launched. Test: manual Bug: 240865724 Signed-off-by: LiZhihong <lizh52@lenovo.corp-partner.google.com> DingYong <dingyong2@lenovo.corp-partner.google.com> Change-Id: I3037d255b693ade3f45e170746e0c2b2de5db6fb (cherry picked from commit c978736155c945e5b173dadee5ad4ad3e2b6fb40) Merged-In: I3037d255b693ade3f45e170746e0c2b2de5db6fb
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions