diff options
author | Michael Jurka <mikejurka@google.com> | 2012-10-09 14:46:26 +0200 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2012-10-09 14:46:26 +0200 |
commit | a113121fd3c43f1e1d23064e17c540c48fe330cc (patch) | |
tree | 0cf8ab227bb7224b7a3705a3ccf451c35c5fcfbf /src/com | |
parent | 98d7bd72df9833b0149dd4772cce710fa4b7476d (diff) | |
download | packages_apps_trebuchet-a113121fd3c43f1e1d23064e17c540c48fe330cc.zip packages_apps_trebuchet-a113121fd3c43f1e1d23064e17c540c48fe330cc.tar.gz packages_apps_trebuchet-a113121fd3c43f1e1d23064e17c540c48fe330cc.tar.bz2 |
Stop using mcc for custom workspace cling on sw600dp devices
Bug: 7203884
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/launcher2/Launcher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index 6095a2f..700f921 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -3753,7 +3753,7 @@ public final class Launcher extends Activity // with a custom workspace cling (usually specified in an overlay) // For now, only do this on tablets if (mSharedPrefs.getInt(LauncherProvider.DEFAULT_WORKSPACE_RESOURCE_ID, 0) != 0 && - LauncherApplication.isScreenLarge()) { + getResources().getBoolean(R.bool.config_useCustomClings)) { // Use a custom cling View cling = findViewById(R.id.workspace_cling); ViewGroup clingParent = (ViewGroup) cling.getParent(); |