File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/SystemUI/src/com/android/systemui/statusbar/phone Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ public class PhoneStatusBar extends BaseStatusBar {
171171 final Rect mNotificationPanelBackgroundPadding = new Rect ();
172172 int mNotificationPanelGravity ;
173173 int mNotificationPanelMinHeight ;
174+ boolean mNotificationPanelIsFullScreenWidth ;
174175
175176 // top bar
176177 View mClearButton ;
@@ -361,9 +362,11 @@ public boolean onTouch(View v, MotionEvent event) {
361362 return true ;
362363 }
363364 });
365+ mNotificationPanelIsFullScreenWidth =
366+ (mNotificationPanel .getLayoutParams ().width == ViewGroup .LayoutParams .MATCH_PARENT );
364367 mNotificationPanel .setSystemUiVisibility (
365368 View .STATUS_BAR_DISABLE_NOTIFICATION_TICKER
366- | View .STATUS_BAR_DISABLE_SYSTEM_INFO );
369+ | ( mNotificationPanelIsFullScreenWidth ? 0 : View .STATUS_BAR_DISABLE_SYSTEM_INFO ) );
367370
368371 if (!ActivityManager .isHighEndGfx (mDisplay )) {
369372 mStatusBarWindow .setBackground (null );
You can’t perform that action at this time.
0 commit comments