commit | 54f986707b25b6d299ce3a1bc1e18828482ee406 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Jan 27 00:31:08 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Jan 27 00:31:08 2021 +0000 |
tree | 7d6f001443972bb8feadb0b4ce777d894a2570bc | |
parent | 371d8c22981cb8ec4a8e616822bc0655d72f85fc [diff] | |
parent | b453ef76212b31cd20075242108726b393d14fdb [diff] |
Snap for 7104876 from b453ef76212b31cd20075242108726b393d14fdb to rvc-qpr3-release Change-Id: Ia67f8a4319b390b8543e5283af2b93ab6a36c978
diff --git a/src/com/android/launcher3/CheckLongPressHelper.java b/src/com/android/launcher3/CheckLongPressHelper.java index ff405ec..c707df0 100644 --- a/src/com/android/launcher3/CheckLongPressHelper.java +++ b/src/com/android/launcher3/CheckLongPressHelper.java
@@ -115,7 +115,7 @@ private void triggerLongPress() { if ((mView.getParent() != null) && mView.hasWindowFocus() - && (!mView.isPressed() || mListener == null) + && (!mView.isPressed() || mListener != null) && !mHasPerformedLongPress) { boolean handled; if (mListener != null) {