Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +5 −7 Original line number Diff line number Diff line Loading @@ -194,7 +194,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, DockBatteryController mDockBatteryController; LocationController mLocationController; NetworkController mNetworkController; RotationLockController mRotationLockController; MSimNetworkController mMSimNetworkController; int mNaturalBarHeight = -1; Loading Loading @@ -522,6 +521,11 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, mCurrentTheme = (CustomTheme)currentTheme.clone(); } mLocationController = new LocationController(mContext); mBatteryController = new BatteryController(mContext); mDockBatteryController = new DockBatteryController(mContext); mBluetoothController = new BluetoothController(mContext); super.start(); // calls createAndAddWindows() addNavigationBar(); Loading Loading @@ -772,12 +776,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, setAreThereNotifications(); // Other icons mLocationController = new LocationController(mContext); // will post a notification mBatteryController = new BatteryController(mContext); mDockBatteryController = new DockBatteryController(mContext); mBluetoothController = new BluetoothController(mContext); mRotationLockController = new RotationLockController(mContext); mBatteryView = (BatteryMeterView) mStatusBarView.findViewById(R.id.battery); mDockBatteryView = (DockBatteryMeterView) mStatusBarView.findViewById(R.id.dock_battery); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +5 −7 Original line number Diff line number Diff line Loading @@ -194,7 +194,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, DockBatteryController mDockBatteryController; LocationController mLocationController; NetworkController mNetworkController; RotationLockController mRotationLockController; MSimNetworkController mMSimNetworkController; int mNaturalBarHeight = -1; Loading Loading @@ -522,6 +521,11 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, mCurrentTheme = (CustomTheme)currentTheme.clone(); } mLocationController = new LocationController(mContext); mBatteryController = new BatteryController(mContext); mDockBatteryController = new DockBatteryController(mContext); mBluetoothController = new BluetoothController(mContext); super.start(); // calls createAndAddWindows() addNavigationBar(); Loading Loading @@ -772,12 +776,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, setAreThereNotifications(); // Other icons mLocationController = new LocationController(mContext); // will post a notification mBatteryController = new BatteryController(mContext); mDockBatteryController = new DockBatteryController(mContext); mBluetoothController = new BluetoothController(mContext); mRotationLockController = new RotationLockController(mContext); mBatteryView = (BatteryMeterView) mStatusBarView.findViewById(R.id.battery); mDockBatteryView = (DockBatteryMeterView) mStatusBarView.findViewById(R.id.dock_battery); Loading