Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0906c162 authored by Coco Duan's avatar Coco Duan
Browse files

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
parent 3f220263
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment