diff options
author | Joe Onorato <joeo@android.com> | 2009-11-19 12:51:57 -0800 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-11-19 12:51:57 -0800 |
commit | 61597bd5fdc4f8704478101c1ae166ab2d0c503c (patch) | |
tree | 0f4636279edeaecabe984b26763e3f62ae8e8b84 /src | |
parent | 0c4513e55904b022a161456d699d6c1f414f0936 (diff) | |
download | android_packages_apps_Trebuchet-61597bd5fdc4f8704478101c1ae166ab2d0c503c.tar.gz android_packages_apps_Trebuchet-61597bd5fdc4f8704478101c1ae166ab2d0c503c.tar.bz2 android_packages_apps_Trebuchet-61597bd5fdc4f8704478101c1ae166ab2d0c503c.zip |
Fix 2271141 - Pressing the bottom corner of the screen when the applications menu is visible will
switch the home screen
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 859a75e5c..300b3b918 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -589,12 +589,16 @@ public final class Launcher extends Activity @SuppressWarnings({"UnusedDeclaration"}) public void previousScreen(View v) { - mWorkspace.scrollLeft(); + if (!isAllAppsVisible()) { + mWorkspace.scrollLeft(); + } } @SuppressWarnings({"UnusedDeclaration"}) public void nextScreen(View v) { - mWorkspace.scrollRight(); + if (!isAllAppsVisible()) { + mWorkspace.scrollRight(); + } } /** |