summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author Coco Duan <cocod@google.com> 2024-02-02 18:14:21 +0000
committer Coco Duan <cocod@google.com> 2024-02-07 23:45:43 +0000
commit0906c162a5b85fa9a535f2fdc5d2cfb7ea6b99e7 (patch)
tree9223b7376873d4c666107e83241ac93261a6afe6 /native/android/input.cpp
parent3f220263b9de9c161f174abda4f61653434bae39 (diff)
Turn off glanceable hub touch handling on dream if disabled
- Added an `isEnabled` field in DreamTouchHandler interface which defaults to true. - If communal is not available, set enabled state to false in CommunalTouchHander, so that no touch session or region will be initiated trying to handle touch for the glanceable hub. Bug: b/323366236 Test: edge swipe on dream with GH enabled/disabled Test: atest CommunalTouchHandlerTest Flag: ACONFIG com.android.systemui.communal_hub STAGING Change-Id: Ifa5941c27aa7dc55e25f0e3277b1e5cedde38838
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions