Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 784f9c39 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

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
parent abb584ce
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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