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

Commit 21caf040 authored by helen cheuk's avatar helen cheuk
Browse files

[Action Corner] Only subscribe to cursor position when there is pointer

device connected

Subscribing to cursor position would trigger adding input monitor for
the display. It should only be done when there is any pointer device
(e.g. mouse/touchpad) is connected to avoid unnecessary overhead.

Bug: 411091884
Test: PointerDeviceRepositoryTest
Test: ActionCornerRepositoryTest
Flag: com.android.systemui.shared.cursor_hot_corner
Change-Id: Ia98612e919555338e7f36fff676a78eb17bcc8b4
parent f045ec4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment