Skip to content

Commit 391ba00

Browse files
committed
Revert "HeadsUp: Respect system decorations when adding view."
This reverts commit 11938cb.
1 parent f174d45 commit 391ba00

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1590,7 +1590,9 @@ private void addHeadsUpView() {
15901590
WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
15911591
LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT,
15921592
WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL, // above the status bar!
1593-
WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
1593+
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
1594+
| WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS
1595+
| WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
15941596
| WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
15951597
| WindowManager.LayoutParams.FLAG_SPLIT_TOUCH,
15961598
PixelFormat.TRANSPARENT);

0 commit comments

Comments
 (0)