Merge "Fix bug: workspace screens not being rendered in spring-loaded mode" into honeycomb-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
bf32dbbbff
@@ -1184,8 +1184,9 @@ public class Workspace extends SmoothPagedView
|
|||||||
final int pageCount = getChildCount();
|
final int pageCount = getChildCount();
|
||||||
final long drawingTime = getDrawingTime();
|
final long drawingTime = getDrawingTime();
|
||||||
for (int i = 0; i < pageCount; i++) {
|
for (int i = 0; i < pageCount; i++) {
|
||||||
final View page = (View) getChildAt(i);
|
final CellLayout page = (CellLayout) getChildAt(i);
|
||||||
if (page.getVisibility() == VISIBLE && page.getAlpha() != 0f) {
|
if (page.getVisibility() == VISIBLE
|
||||||
|
&& (page.getAlpha() != 0f || page.getBackgroundAlpha() != 0f)) {
|
||||||
drawChild(canvas, page, drawingTime);
|
drawChild(canvas, page, drawingTime);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user