Skip to content

Commit

Permalink
SystemUI: always use transparent notification shade
Browse files Browse the repository at this point in the history
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
jt1134 authored and Gerrit Code Review committed Jan 27, 2013
1 parent c4b3810 commit e4f513c
Showing 1 changed file with 0 additions and 12 deletions.
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e4f513c

Please sign in to comment.