Fixing all apps relayout issue.

Bug: 20617223
Change-Id: Ia7efbdb1c8744ca58070b6b20e96bcb19389c0d1
This commit is contained in:
Winson Chung committed 2015-05-05 14:32:29 -07:00
1 parent 9892e58740
commit ed4121e1fc
1 file changed
+9 -2
@@ -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