diff options
-rw-r--r-- | src/com/android/launcher3/Launcher.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index 25b1fd483..8e8e6ed72 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -2075,7 +2075,9 @@ public class Launcher extends Activity public boolean onTouch(View v, MotionEvent event) { // this is an intercepted event being forwarded from mWorkspace; // clicking anywhere on the workspace causes the customization drawer to slide down - showWorkspace(true); + if (event.getAction() == MotionEvent.ACTION_DOWN) { + showWorkspace(true); + } return false; } @@ -2926,10 +2928,10 @@ public class Launcher extends Activity getWindow().getDecorView() .sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED); - onWorkspaceShown(); + onWorkspaceShown(animated); } - public void onWorkspaceShown() { + public void onWorkspaceShown(boolean animated) { } void showAllApps(boolean animated) { |