Skip to content

Commit c5d76e0

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Move bar panels above the system bar window layer." into jb-dev
2 parents 1243b96 + 4ce64fb commit c5d76e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ protected void addPanelWindows() {
268268
WindowManager.LayoutParams lp = mNotificationPanelParams = new WindowManager.LayoutParams(
269269
res.getDimensionPixelSize(R.dimen.notification_panel_width),
270270
getNotificationPanelHeight(),
271-
WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL,
271+
WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL,
272272
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
273273
| WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS
274274
| WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM
@@ -636,7 +636,7 @@ protected WindowManager.LayoutParams getRecentsLayoutParams(LayoutParams layoutP
636636
WindowManager.LayoutParams lp = new WindowManager.LayoutParams(
637637
(int) mContext.getResources().getDimension(R.dimen.status_bar_recents_width),
638638
ViewGroup.LayoutParams.MATCH_PARENT,
639-
WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL,
639+
WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL,
640640
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
641641
| WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM
642642
| WindowManager.LayoutParams.FLAG_SPLIT_TOUCH

packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ private ViewGroup makeWindow() {
223223
windowFlags |= WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE;
224224
}
225225
WindowManager.LayoutParams lp = new WindowManager.LayoutParams(width, mLargeIconHeight,
226-
WindowManager.LayoutParams.TYPE_STATUS_BAR_PANEL, windowFlags,
226+
WindowManager.LayoutParams.TYPE_NAVIGATION_BAR_PANEL, windowFlags,
227227
PixelFormat.TRANSLUCENT);
228228
lp.gravity = Gravity.BOTTOM | Gravity.RIGHT;
229229
// lp.windowAnimations = com.android.internal.R.style.Animation_Toast;

0 commit comments

Comments
 (0)