diff options
author | Michael Jurka <mikejurka@google.com> | 2011-02-01 15:05:06 -0800 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-02-01 15:35:32 -0800 |
commit | bdb5c5342adc550559fd723af461e53248f2fba8 (patch) | |
tree | 63873a289d28ccd9d23b32a785f8f2b22d2e61b0 /src/com/android/launcher2/CellLayoutChildren.java | |
parent | bfadaad3522dc6b1cf3c95c08031ae088a3f610a (diff) | |
download | android_packages_apps_Trebuchet-bdb5c5342adc550559fd723af461e53248f2fba8.tar.gz android_packages_apps_Trebuchet-bdb5c5342adc550559fd723af461e53248f2fba8.tar.bz2 android_packages_apps_Trebuchet-bdb5c5342adc550559fd723af461e53248f2fba8.zip |
Turning on hardware layers for the workspace
- Obsoletes need for CachedViewGroup and CachedTextView on workspace as well
Bug #3413433
Diffstat (limited to 'src/com/android/launcher2/CellLayoutChildren.java')
-rw-r--r-- | src/com/android/launcher2/CellLayoutChildren.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher2/CellLayoutChildren.java b/src/com/android/launcher2/CellLayoutChildren.java index a6f7f4214..76a690094 100644 --- a/src/com/android/launcher2/CellLayoutChildren.java +++ b/src/com/android/launcher2/CellLayoutChildren.java @@ -44,6 +44,7 @@ public class CellLayoutChildren extends ViewGroup { public CellLayoutChildren(Context context) { super(context); mWallpaperManager = WallpaperManager.getInstance(context); + setLayerType(LAYER_TYPE_HARDWARE, null); } public void setCellDimensions(int cellWidth, int cellHeight, |