mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Fix black flash during rotation of -1 screen with GEL.
We need to make sure the custom content is adding synchronously while the rest of the workspace is being created. If we wait for it to be added in a separate run task, we see a black flash during rotation. Also rename a few methods and remove obsolete methods. Bug: 11802691 Change-Id: I3f6500aa1fabe68cef59ad8c764877f954986a99
This commit is contained in:
@@ -421,7 +421,7 @@ public class Workspace extends SmoothPagedView
|
||||
setClipChildren(false);
|
||||
setClipToPadding(false);
|
||||
setChildrenDrawnWithCacheEnabled(true);
|
||||
|
||||
|
||||
setMinScale(mOverviewModeShrinkFactor);
|
||||
setupLayoutTransition();
|
||||
|
||||
@@ -562,7 +562,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();
|
||||
|
||||
Reference in New Issue
Block a user