Merge "Fixing all apps relayout issue." into ub-launcher3-burnaby

This commit is contained in:
Winson Chung
2015-05-06 15:57:31 +00:00
committed by Android (Google) Code Review
@@ -232,8 +232,15 @@ public class AppsContainerView extends FrameLayout implements DragSource, Insett
mFixedBounds.set(fixedBounds);
}
updateBackgrounds();
updatePaddings();
// Post the updates since they can trigger a relayout, and this call can be triggered from
// a layout pass itself.
post(new Runnable() {
@Override
public void run() {
updateBackgrounds();
updatePaddings();
}
});
}
@Override