diff options
author | Winson Chung <winsonc@google.com> | 2011-08-08 10:55:42 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-08-08 14:05:51 -0700 |
commit | f30ad5f1bf33baceeca6b770464fb543b58af985 (patch) | |
tree | 741c861273bee250f6773b8b29d77191ac04b1c3 /src/com/android/launcher2/LauncherProvider.java | |
parent | c29c8462b1f56558a4e357975fa7463e66bce47e (diff) | |
download | packages_apps_trebuchet-f30ad5f1bf33baceeca6b770464fb543b58af985.zip packages_apps_trebuchet-f30ad5f1bf33baceeca6b770464fb543b58af985.tar.gz packages_apps_trebuchet-f30ad5f1bf33baceeca6b770464fb543b58af985.tar.bz2 |
Making hotseat a fiver.
Change-Id: I18737692a115f8fd77c6feb3062f4bfeca3506ae
Diffstat (limited to 'src/com/android/launcher2/LauncherProvider.java')
-rw-r--r-- | src/com/android/launcher2/LauncherProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/LauncherProvider.java b/src/com/android/launcher2/LauncherProvider.java index 6ca16de..53f7b42 100644 --- a/src/com/android/launcher2/LauncherProvider.java +++ b/src/com/android/launcher2/LauncherProvider.java @@ -737,7 +737,7 @@ public class LauncherProvider extends ContentProvider { // hotset. This screen can't be at position 0 because AllApps is in the // zeroth position. if (container == LauncherSettings.Favorites.CONTAINER_HOTSEAT && - Integer.valueOf(screen) <= 0) { + Hotseat.isAllAppsButtonRank(Integer.valueOf(screen))) { throw new RuntimeException("Invalid screen position for hotseat item"); } |