summaryrefslogtreecommitdiff
path: root/libs/androidfw/PathUtils.cpp
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2023-09-01 22:52:30 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-09-20 12:53:44 +0000
commitc1f1d85f0461173752ce6a21464fd4ab16001d2b (patch)
treea44cec88e894371c734a1413a5d0024e5b35d9a9 /libs/androidfw/PathUtils.cpp
parente0f1e64ff0fc7e7a44b155beef1d45c495ce298a (diff)
Support key gesture detection for stylus tail button in SysUI
Here, we add gesture detection logic for the stylus tail button in SysUI. The notes task will only be shown immediately on the UP event of the first key press of a key gesture. A long press will not do anything for now. If there is a multi-press (e.g. double-press, triple-press), only the first press will react to the event. Bug: 298056902 Test: manual with stylus Test: atest NoteTaskInitializerTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:515a1625d4948f2fdb1ef6e966fe4469b0ed4d9f) Merged-In: I90391f411d84ec5c749bb4d8cdefd7e610539e6e Change-Id: I90391f411d84ec5c749bb4d8cdefd7e610539e6e
Diffstat (limited to 'libs/androidfw/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions