Setting stable layout flags on the launcher, so that the instets do not
change for launcher when going in/out of another app Bug: 27600678 Change-Id: Ic873faba99c539025769d911bc7b0a4fed629cd7
This commit is contained in:
@@ -1331,8 +1331,9 @@ public class Launcher extends Activity
|
||||
mWorkspace.setPageSwitchListener(this);
|
||||
mPageIndicators = mDragLayer.findViewById(R.id.page_indicator);
|
||||
|
||||
mLauncherView.setSystemUiVisibility(
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
|
||||
mLauncherView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
|
||||
mWorkspaceBackgroundDrawable = getResources().getDrawable(R.drawable.workspace_bg);
|
||||
|
||||
// Setup the drag layer
|
||||
|
||||
Reference in New Issue
Block a user