Skip to content

Commit 994897f

Browse files
pixelflingerAndroid Git Automerger
authored andcommitted
am 8632561: Merge "Make the status and navigation bars OPAQUE." into ics-factoryrom
* commit '8632561e14c5cc546cec39edd213ea8cc7aea2f9': Make the status and navigation bars OPAQUE.
2 parents 02ee442 + 8632561 commit 994897f

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/StatusBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)