Preventing StackView from clipping in software on Soju, issue 4225485

Change-Id: I97a5e38e18591a32310c1cb59ce958e6551e54e4
This commit is contained in:
Adam Cohen
2011-08-01 15:43:31 -07:00
parent 05e0f40e50
commit 8182e5bc3c
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1289,6 +1289,10 @@ public class Workspace extends SmoothPagedView
for (int i = 0; i < screenCount; i++) {
final CellLayout layout = (CellLayout) getChildAt(i);
layout.setChildrenDrawnWithCacheEnabled(false);
// In software mode, we don't want the items to continue to be drawn into bitmaps
if (!isHardwareAccelerated()) {
layout.setChildrenDrawingCacheEnabled(false);
}
}
}