Merge "Do not reinflate/rebind widgets if we are going the rebind the full workspace anyway." into ub-launcher3-burnaby-polish

This commit is contained in:
Sunny Goyal
2015-10-02 17:40:35 +00:00
committed by Android (Google) Code Review

View File

@@ -1047,7 +1047,9 @@ public class Launcher extends Activity
// Consequently, the widgets will be inflated in the orientation of the foreground activity
// (framework issue). On resuming, we ensure that any widgets are inflated for the current
// orientation.
getWorkspace().reinflateWidgetsIfNecessary();
if (!isWorkspaceLoading()) {
getWorkspace().reinflateWidgetsIfNecessary();
}
reinflateQSBIfNecessary();
if (DEBUG_RESUME_TIME) {