File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
packages/SystemUI/src/com/android/systemui/statusbar Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ public void start() {
118118 WindowManager .LayoutParams .FLAG_NOT_FOCUSABLE
119119 | WindowManager .LayoutParams .FLAG_TOUCHABLE_WHEN_WAKING
120120 | WindowManager .LayoutParams .FLAG_SPLIT_TOUCH ,
121- PixelFormat .RGBX_8888 );
121+ PixelFormat .OPAQUE );
122122
123123 // the status bar should be in an overlay if possible
124124 final Display defaultDisplay
Original file line number Diff line number Diff line change @@ -316,12 +316,7 @@ public void onSystemUiVisibilityChange(int visibility) {
316316 }
317317
318318 // figure out which pixel-format to use for the status bar.
319- mPixelFormat = PixelFormat .TRANSLUCENT ;
320- Drawable bg = sb .getBackground ();
321- if (bg != null ) {
322- mPixelFormat = bg .getOpacity ();
323- }
324-
319+ mPixelFormat = PixelFormat .OPAQUE ;
325320 mStatusIcons = (LinearLayout )sb .findViewById (R .id .statusIcons );
326321 mNotificationIcons = (IconMerger )sb .findViewById (R .id .notificationIcons );
327322 mIcons = (LinearLayout )sb .findViewById (R .id .icons );
You can’t perform that action at this time.
0 commit comments