Merge "Fix black flash during rotation of -1 screen with GEL." into ub-now-lunchbox

This commit is contained in:
Derek Prothro
2014-01-30 22:03:55 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 22 deletions

View File

@@ -425,7 +425,7 @@ public class Workspace extends SmoothPagedView
setClipChildren(false);
setClipToPadding(false);
setChildrenDrawnWithCacheEnabled(true);
setMinScale(mOverviewModeShrinkFactor);
setupLayoutTransition();
@@ -566,7 +566,7 @@ public class Workspace extends SmoothPagedView
return screenId;
}
public void createCustomContentPage() {
public void createCustomContentContainer() {
CellLayout customScreen = (CellLayout)
mLauncher.getLayoutInflater().inflate(R.layout.workspace_screen, null);
customScreen.disableBackground();