mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Fix bug where dragview gets stuck on screen. am: b453ef7621
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13407365 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I636aef61403f44fd27898d74d2b857fd14f9ffc2
This commit is contained in:
@@ -115,7 +115,7 @@ public class CheckLongPressHelper {
|
||||
private void triggerLongPress() {
|
||||
if ((mView.getParent() != null)
|
||||
&& mView.hasWindowFocus()
|
||||
&& (!mView.isPressed() || mListener == null)
|
||||
&& (!mView.isPressed() || mListener != null)
|
||||
&& !mHasPerformedLongPress) {
|
||||
boolean handled;
|
||||
if (mListener != null) {
|
||||
|
||||
Reference in New Issue
Block a user