Fix NPE
Bug # 5340102 Change-Id: Ibcdb549f4987f67c797c0618c8f54d3b1054261f
This commit is contained in:
@@ -713,7 +713,6 @@ public abstract class PagedView extends ViewGroup {
|
||||
rightScreen++;
|
||||
x += getScaledMeasuredWidth(getPageAt(rightScreen)) + mPageSpacing;
|
||||
}
|
||||
rightScreen = Math.min(getChildCount() - 1, rightScreen);
|
||||
|
||||
final long drawingTime = getDrawingTime();
|
||||
// Clip to the bounds
|
||||
|
||||
Reference in New Issue
Block a user