summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Thomas Leu <thomasleu@google.com> 2023-03-16 14:45:51 +0100
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-03-27 12:44:18 +0000
commit0b99849797d2259fd1e16764635e9598bcf7efcf (patch)
tree5becfada1fcdfe98d717882a0dd5497c9772e7ec /libs/androidfw/FileStream.cpp
parentf9e6314f1d39a0d0614b69a1b652396de9d90384 (diff)
Add the DPAD device flag when injecting accessibility DPAD events.
For the global DPAD actions GLOBAL_ACTION_DPAD_UP/DOWN/LEFT/RIGHT/CENTER, set the event source to both SOURCE_KEYBOARD and SOURCE_DPAD to match the event we would get with a real DPAD of a TV remote control. Bug: b/273880258 Test: Locally tested on adt4-userdebug with the same sample accessibility service used in the video attached to b/273880258. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4df28baa74d2dbde690d5357f1807e59f4eadd6d) Merged-In: Icc194345bca7220927f98ae67379c27a9e8c32ba Change-Id: Icc194345bca7220927f98ae67379c27a9e8c32ba
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions