diff options
author | Pedlar <pedlar88@gmail.com> | 2010-10-17 22:23:20 -0400 |
---|---|---|
committer | Pedlar <pedlar88@gmail.com> | 2010-10-17 22:31:47 -0400 |
commit | 2d2cdd0287dff37c938fc72384224059d451a652 (patch) | |
tree | 11fb1e1c4cbb3c5fa6ee5c8067adcc58e0817a58 /services | |
parent | 7bb79fb01308f9eac308d2f397b0565a9d1fe082 (diff) | |
download | frameworks_base-2d2cdd0287dff37c938fc72384224059d451a652.zip frameworks_base-2d2cdd0287dff37c938fc72384224059d451a652.tar.gz frameworks_base-2d2cdd0287dff37c938fc72384224059d451a652.tar.bz2 |
Make it so the widget shows as on by default.
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/status/StatusBarService.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/services/java/com/android/server/status/StatusBarService.java b/services/java/com/android/server/status/StatusBarService.java index 7c99b84..f19aefb 100644 --- a/services/java/com/android/server/status/StatusBarService.java +++ b/services/java/com/android/server/status/StatusBarService.java @@ -279,8 +279,6 @@ public class StatusBarService extends IStatusBar.Stub Drawable expBarNotifTitleDrawable; - private WifiManager mWifiManager = null; - private BluetoothAdapter mBluetoothAdapter = null; // for disabling the status bar ArrayList<DisableRecord> mDisableRecords = new ArrayList<DisableRecord>(); int mDisabled = 0; @@ -437,8 +435,6 @@ public class StatusBarService extends IStatusBar.Stub lp.windowAnimations = R.style.Animation_StatusBar; WindowManagerImpl.getDefault().addView(view, lp); - mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); - mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); setupPowerWidget(); } @@ -2368,7 +2364,7 @@ public class StatusBarService extends IStatusBar.Stub } boolean powerWidget = Settings.System.getInt(mContext.getContentResolver(), - Settings.System.EXPANDED_VIEW_WIDGET, 0) == 1; + Settings.System.EXPANDED_VIEW_WIDGET, 1) == 1; if(!powerWidget) { mExpandedView.findViewById(R.id.exp_power_stat). setVisibility(View.GONE); |