Potential fix for a couple bugs
issue 17371274 issue 17368590 Change-Id: I717f9c37613efd9d61e401540ca82aff77058022
This commit is contained in:
@@ -366,8 +366,10 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
// This code triggers requestLayout so must be posted outside of the
|
||||
// layout pass.
|
||||
public void run() {
|
||||
setDataIsReady();
|
||||
onDataReady(getMeasuredWidth(), getMeasuredHeight());
|
||||
if (isAttachedToWindow()) {
|
||||
setDataIsReady();
|
||||
onDataReady(getMeasuredWidth(), getMeasuredHeight());
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user