diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-12-30 12:37:32 +0000 |
---|---|---|
committer | nebkat <nebkat@teamhacksung.org> | 2012-12-30 12:37:32 +0000 |
commit | bccc420e936787a4ceabf6d7863559d142620328 (patch) | |
tree | 1d36040d731941fc43deb189acef1ce43a505450 /src | |
parent | 84cb281b9c25686ec7316581ea99e8d54a0cdd38 (diff) | |
download | android_packages_apps_Trebuchet-bccc420e936787a4ceabf6d7863559d142620328.tar.gz android_packages_apps_Trebuchet-bccc420e936787a4ceabf6d7863559d142620328.tar.bz2 android_packages_apps_Trebuchet-bccc420e936787a4ceabf6d7863559d142620328.zip |
Hotseat: Fix sw720dp default cell count
Change-Id: Iaeeb8feac753ee1d335da5be56d1ae6a2e067efc
Diffstat (limited to 'src')
-rw-r--r-- | src/com/cyanogenmod/trebuchet/Hotseat.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/cyanogenmod/trebuchet/Hotseat.java b/src/com/cyanogenmod/trebuchet/Hotseat.java index 77ec2cc88..08ca1ed7c 100644 --- a/src/com/cyanogenmod/trebuchet/Hotseat.java +++ b/src/com/cyanogenmod/trebuchet/Hotseat.java @@ -67,10 +67,7 @@ public class Hotseat extends PagedView { mIsLandscape = context.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE; mCellCount = a.getInt(R.styleable.Hotseat_cellCount, DEFAULT_CELL_COUNT); - int cellCount = PreferencesProvider.Interface.Dock.getNumberIcons(0); - if (cellCount > 0) { - mCellCount = cellCount; - } + mCellCount = PreferencesProvider.Interface.Dock.getNumberIcons(mCellCount); mVertical = hasVerticalHotseat(); |