Preventing StackView from clipping in software on Soju, issue 4225485

Change-Id: I97a5e38e18591a32310c1cb59ce958e6551e54e4
This commit is contained in:
Adam Cohen committed 2011-08-01 15:43:31 -07:00
1 parent 05e0f40e50
commit 8182e5bc3c
2 files changed
+5 -1

No files matched your search

@@ -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);
}
}