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

Commit fe042fe2 authored by Winson Chung's avatar Winson Chung
Browse files

Skip handling input while the user is still locked

- None of the gestures work when the user is locked so
  we can just skip them.

Bug: 143107728
Test: Manual
Change-Id: I2661d58269f7eccbfcd2214792c128b432e0347c
parent b6af1d0e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -416,6 +416,9 @@ public class TouchInteractionService extends Service implements
            Log.e(TAG, "Unknown event " + ev);
            return;
        }
        if (!mDeviceState.isUserUnlocked()) {
            return;
        }

        Object traceToken = TraceHelper.INSTANCE.beginFlagsOverride(
                TraceHelper.FLAG_ALLOW_BINDER_TRACKING);