From 9c10d08e1e20b5b3e004bd94e7e5c371bf086c7f Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Mon, 21 Jun 2021 12:41:36 -0700 Subject: [PATCH] Ensure mConsumer isn't set to null in reset(). mResetGestureInputConsumer is not initialized until onUserUnlocked(), meaning it might still be null in reset(). Use NO_OP input consumer in that case. Test: none Bug: 191669813 Change-Id: Ib9edde50fba0b6164390ec2b5c877d3db74ddfeb --- .../com/android/quickstep/TouchInteractionService.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/quickstep/src/com/android/quickstep/TouchInteractionService.java b/quickstep/src/com/android/quickstep/TouchInteractionService.java index 7956fcc562..7cb6800146 100644 --- a/quickstep/src/com/android/quickstep/TouchInteractionService.java +++ b/quickstep/src/com/android/quickstep/TouchInteractionService.java @@ -807,7 +807,13 @@ public class TouchInteractionService extends Service implements PluginListener