diff options
Diffstat (limited to 'src/com/android')
-rw-r--r-- | src/com/android/launcher2/Workspace.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index 5a230eb90..7956b4559 100644 --- a/src/com/android/launcher2/Workspace.java +++ b/src/com/android/launcher2/Workspace.java @@ -1181,8 +1181,9 @@ public class Workspace extends SmoothPagedView final int pageCount = getChildCount(); final long drawingTime = getDrawingTime(); for (int i = 0; i < pageCount; i++) { - final View page = (View) getChildAt(i); - if (page.getVisibility() == VISIBLE && page.getAlpha() != 0f) { + final CellLayout page = (CellLayout) getChildAt(i); + if (page.getVisibility() == VISIBLE + && (page.getAlpha() != 0f || page.getBackgroundAlpha() != 0f)) { drawChild(canvas, page, drawingTime); } } |