Removing view.isInTouchMode() because plaform returns false when
using a mouse on long click. Bug: 38204847 Change-Id: I5b10e8251f4f0a7b148c0404d5939a0fa8325a46
This commit is contained in:
@@ -139,8 +139,6 @@ public class WidgetsContainerView extends BaseContainerView
|
||||
if (LOGD) {
|
||||
Log.d(TAG, String.format("onLongClick [v=%s]", v));
|
||||
}
|
||||
// Return early if this is not initiated from a touch
|
||||
if (!v.isInTouchMode()) return false;
|
||||
// When we are in transition, disregard long clicks
|
||||
if (mLauncher.getWorkspace().isSwitchingState()) return false;
|
||||
// Return if global dragging is not enabled
|
||||
|
||||
Reference in New Issue
Block a user