am 9d7657c5: Merge "PhoneStatusBar: Fix NPE while accessing quick settings." into jb-mr1-dev
* commit '9d7657c5b569e503a65f1bbe5f0e93309bf33342': PhoneStatusBar: Fix NPE while accessing quick settings.
This commit is contained in:
@@ -318,8 +318,6 @@ public class PhoneStatusBar extends BaseStatusBar {
|
||||
mStatusBarWindow.setBackground(null);
|
||||
mNotificationPanel.setBackground(new FastColorDrawable(context.getResources().getColor(
|
||||
R.color.notification_panel_solid_background)));
|
||||
mSettingsPanel.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);
|
||||
@@ -436,6 +434,11 @@ public class PhoneStatusBar extends BaseStatusBar {
|
||||
mSettingsPanel.setup(mNetworkController, mBluetoothController, mBatteryController,
|
||||
mLocationController);
|
||||
|
||||
if (!ActivityManager.isHighEndGfx()) {
|
||||
mSettingsPanel.setBackground(new FastColorDrawable(context.getResources().getColor(
|
||||
R.color.notification_panel_solid_background)));
|
||||
}
|
||||
|
||||
// final ImageView wimaxRSSI =
|
||||
// (ImageView)sb.findViewById(R.id.wimax_signal);
|
||||
// if (wimaxRSSI != null) {
|
||||
|
||||
Reference in New Issue
Block a user