summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/CellLayoutChildren.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/launcher2/CellLayoutChildren.java')
-rw-r--r--src/com/android/launcher2/CellLayoutChildren.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher2/CellLayoutChildren.java b/src/com/android/launcher2/CellLayoutChildren.java
index f9adce0c3..59db9c9ed 100644
--- a/src/com/android/launcher2/CellLayoutChildren.java
+++ b/src/com/android/launcher2/CellLayoutChildren.java
@@ -40,6 +40,9 @@ public class CellLayoutChildren extends ViewGroup {
public CellLayoutChildren(Context context) {
super(context);
mWallpaperManager = WallpaperManager.getInstance(context);
+ }
+
+ public void enableHardwareLayers() {
setLayerType(LAYER_TYPE_HARDWARE, null);
}