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

Commit 5a18ec2b authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "Cutout: Fix status bar layout" into pi-dev

am: ce18c717

Change-Id: Iba4e3558f86dbfb49104d52e3af851bde35e4f38
parents 14a43f86 ce18c717
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@

package com.android.systemui.statusbar.phone;

import static android.view.WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;

import static com.android.systemui.statusbar.NotificationRemoteInputManager.ENABLE_REMOTE_INPUT;

import android.app.ActivityManager;
@@ -108,6 +110,7 @@ public class StatusBarWindowManager implements RemoteInputController.Callback, D
        mLp.setTitle("StatusBar");
        mLp.accessibilityTitle = mContext.getString(R.string.status_bar);
        mLp.packageName = mContext.getPackageName();
        mLp.layoutInDisplayCutoutMode = LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
        mStatusBarView = statusBarView;
        mBarHeight = barHeight;
        mWindowManager.addView(mStatusBarView, mLp);