Checking can start system gesture before creation of TaskbarStashInputConsumer, so that taskbar does not show up when user performs swipe up from lock screen or notification panel.
Test: visual(video in buganizer) Fix:261524189, 262589756 Change-Id: I5252281025953753f9184f1b19c534513b5800fa
This commit is contained in:
@@ -800,7 +800,7 @@ public class TouchInteractionService extends Service
|
||||
|
||||
// If Taskbar is present, we listen for long press to unstash it.
|
||||
TaskbarActivityContext tac = mTaskbarManager.getCurrentActivityContext();
|
||||
if (tac != null) {
|
||||
if (tac != null && canStartSystemGesture) {
|
||||
reasonString.append(NEWLINE_PREFIX)
|
||||
.append(reasonPrefix)
|
||||
.append(SUBSTRING_PREFIX)
|
||||
|
||||
Reference in New Issue
Block a user