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

Commit 7fbb76bc authored by Yen-Chao Chen's avatar Yen-Chao Chen
Browse files

Disable immediatelyReRegister for DOZE_TAP_SCREEN_GESTURE



When the device is woken up by the DOZE_TAP_SCREEN_GESTURE,
re-registering the gesture is unnecessary because it will be
unregistered right after the screen turns on.

Fixes: 412185111
Test: gesture works as intended.
Flag: EXEMPT bug fixing
Change-Id: I8f2cc9fad550d76828b5ffc9b2e923be10195430
Signed-off-by: default avatarYen-Chao Chen <davidycchen@google.com>
parent 4f2fdc03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -223,7 +223,7 @@ public class DozeSensors {
                        true /* touchscreen */,
                        false /* ignoresSetting */,
                        dozeParameters.singleTapUsesProx(mDevicePosture) /* requiresProx */,
                        true /* immediatelyReRegister */,
                        false /* immediatelyReRegister */,
                        mDevicePosture,
                        false
                ),