summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/CellLayoutChildren.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2011-08-01 15:43:31 -0700
committerAdam Cohen <adamcohen@google.com>2011-08-01 15:43:31 -0700
commit8182e5bc3c2d1a0140df345599b89369d457bb4a (patch)
tree8dc35a0785ac9018fa5a8c565bb53e3d6fefde47 /src/com/android/launcher2/CellLayoutChildren.java
parent05e0f40e50574f50678a9e1461cb245cddc46abb (diff)
downloadandroid_packages_apps_Trebuchet-8182e5bc3c2d1a0140df345599b89369d457bb4a.tar.gz
android_packages_apps_Trebuchet-8182e5bc3c2d1a0140df345599b89369d457bb4a.tar.bz2
android_packages_apps_Trebuchet-8182e5bc3c2d1a0140df345599b89369d457bb4a.zip
Preventing StackView from clipping in software on Soju, issue 4225485
Change-Id: I97a5e38e18591a32310c1cb59ce958e6551e54e4
Diffstat (limited to 'src/com/android/launcher2/CellLayoutChildren.java')
-rw-r--r--src/com/android/launcher2/CellLayoutChildren.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/CellLayoutChildren.java b/src/com/android/launcher2/CellLayoutChildren.java
index 555bef76e..ac8c2ca16 100644
--- a/src/com/android/launcher2/CellLayoutChildren.java
+++ b/src/com/android/launcher2/CellLayoutChildren.java
@@ -150,7 +150,7 @@ public class CellLayoutChildren extends ViewGroup {
final View view = getChildAt(i);
view.setDrawingCacheEnabled(enabled);
// Update the drawing caches
- if (!view.isHardwareAccelerated()) {
+ if (!view.isHardwareAccelerated() && enabled) {
view.buildDrawingCache(true);
}
}