Merge "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." into tm-qpr-dev am: 4aac33824d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20861033 Change-Id: I2b508ca826aa1eda8443a51bdf166871019e591c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
dc70ea4d65
1 file changed
+1
-1
@@ -800,7 +800,7 @@ public class TouchInteractionService extends Service
|
|||||||
|
|
||||||
// If Taskbar is present, we listen for long press to unstash it.
|
// If Taskbar is present, we listen for long press to unstash it.
|
||||||
TaskbarActivityContext tac = mTaskbarManager.getCurrentActivityContext();
|
TaskbarActivityContext tac = mTaskbarManager.getCurrentActivityContext();
|
||||||
if (tac != null) {
|
if (tac != null && canStartSystemGesture) {
|
||||||
reasonString.append(NEWLINE_PREFIX)
|
reasonString.append(NEWLINE_PREFIX)
|
||||||
.append(reasonPrefix)
|
.append(reasonPrefix)
|
||||||
.append(SUBSTRING_PREFIX)
|
.append(SUBSTRING_PREFIX)
|
||||||
|
|||||||
Reference in new issue
Block a user