Permalink
Browse files

SystemUI: always use transparent notification shade

Devices with less than 512MB of memory have a solid
black notification shade. Remove the isHighEndGfx()
check to force a transparent notification shade on
all devices.

Change-Id: I9a68a2a8b0d36685f8899f3bbed43bb6bccb47b1
  • Loading branch information...
1 parent c4b3810 commit e4f513cc0907d957d4f211de324678a9689bf467 @jt1134 jt1134 committed with Gerrit Code Review Dec 20, 2012
Showing with 0 additions and 12 deletions.
  1. +0 −12 packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -467,11 +467,6 @@ public boolean onTouch(View v, MotionEvent event) {
}
});
- if (!ActivityManager.isHighEndGfx()) {
- mStatusBarWindow.setBackground(null);
- mNotificationPanel.setBackground(new FastColorDrawable(context.getResources().getColor(
- R.color.notification_panel_solid_background)));
- }
if (ENABLE_INTRUDERS) {
mIntruderAlertView = (IntruderAlertView) View.inflate(context, R.layout.intruder_alert, null);
mIntruderAlertView.setVisibility(View.GONE);
@@ -688,13 +683,6 @@ public void onSizeChanged(View view, int w, int h, int oldw, int oldh) {
} else {
mSettingsPanel = (SettingsPanelView) mStatusBarWindow.findViewById(R.id.settings_panel);
}
-
- if (mSettingsPanel != null) {
- if (!ActivityManager.isHighEndGfx()) {
- mSettingsPanel.setBackground(new FastColorDrawable(context.getResources().getColor(
- R.color.notification_panel_solid_background)));
- }
- }
}
// wherever you find it, Quick Settings needs a container to survive

0 comments on commit e4f513c

Please sign in to comment.