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

Commit e81ba18a authored by Sunny Goyal's avatar Sunny Goyal Committed by Adam Cohen
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
(cherry picked from commit 784f9c39)
parent 2afb6361
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1384,8 +1384,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