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
(cherry picked from commit fc8c975880)
This commit is contained in:
committed by
android-build-team Robot
parent
16fdeda6a6
commit
d1e003be69
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user