summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2012-09-16 17:03:08 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2012-09-16 17:03:08 -0700
commit4f1970fe3ea188015053c05e2e871150b7a611a4 (patch)
tree63558a7779c8b85aed23827a087aef4d28d00c75
parentd41fd604cbf557d961f48a05fa40a9afc7b7cac6 (diff)
downloadpackages_apps_settings-4f1970fe3ea188015053c05e2e871150b7a611a4.zip
packages_apps_settings-4f1970fe3ea188015053c05e2e871150b7a611a4.tar.gz
packages_apps_settings-4f1970fe3ea188015053c05e2e871150b7a611a4.tar.bz2
Must initialize the new atomic..
bug:7172859 Change-Id: Ibaf390683fa36771215b463fb6b088f7430c0462
-rw-r--r--src/com/android/settings/TetherSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/TetherSettings.java b/src/com/android/settings/TetherSettings.java
index 1564803..df44e91 100644
--- a/src/com/android/settings/TetherSettings.java
+++ b/src/com/android/settings/TetherSettings.java
@@ -79,7 +79,7 @@ public class TetherSettings extends SettingsPreferenceFragment
private String[] mWifiRegexs;
private String[] mBluetoothRegexs;
- private AtomicReference<BluetoothPan> mBluetoothPan;
+ private AtomicReference<BluetoothPan> mBluetoothPan = new AtomicReference<BluetoothPan>();
private static final String WIFI_AP_SSID_AND_SECURITY = "wifi_ap_ssid_and_security";
private static final int CONFIG_SUBTEXT = R.string.wifi_tether_configure_subtext;