diff options
| author | 2023-08-28 13:35:33 -0700 | |
|---|---|---|
| committer | 2023-10-05 12:38:33 -0700 | |
| commit | 895bf73649bb35c731885eb3fa3e0b70b8db78e6 (patch) | |
| tree | 047f5079583c29e017b8411a97378f37a6eb863d /libs/androidfw/ApkParsing.cpp | |
| parent | 0714e65562ecec133a66f395bb9782375b19ad49 (diff) | |
swipe-dismiss: add IDecorViewGestureListener
- To allow implicit gesture interception at client side and provide
compatibility behavior to Wear OS apps depending on legacy swipe
dismiss behavior.
WMS:
- Add `register/unreigsterDecorViewGestureListener(IDecorViewGestureListener, displayId)`.
- Protect by MONITOR_INPUT permission
IWindowSession / Session:
- Add `reportDecorViewGestureInterceptionChanged(IWindow, boolean intercepted)`.
ViewRootImpl:
- Add MSG_DECOR_VIEW_GESTURE_INTERCEPTION, asynchronously report gesture
interception result to window session.
DecorView:
- Add WearGestureInterceptionDetector for WearOS system gesture
interception logic.
- Reports gesture interception through ViewRootImpl
More context: go/wear-gestural-navigation-2023
Test: manual, http://shortn/_tEmDzQ2LOS
Bug: 297923810
Change-Id: I279963433e5e44940f884883be6807f182577bd1
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions