diff options
author | Nick Pelly <npelly@google.com> | 2009-10-08 01:03:34 +0200 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2009-10-08 01:03:34 +0200 |
commit | d1a04291c537e271999c7e7c5c72f1f61632aacf (patch) | |
tree | 12df0136a9f83035d3aa1d6202e292438576eee9 /src/com/android/settings/deviceinfo | |
parent | 06a111be6d3ccf44de545a084302c2085cbb07de (diff) | |
download | packages_apps_settings-d1a04291c537e271999c7e7c5c72f1f61632aacf.zip packages_apps_settings-d1a04291c537e271999c7e7c5c72f1f61632aacf.tar.gz packages_apps_settings-d1a04291c537e271999c7e7c5c72f1f61632aacf.tar.bz2 |
Update application code for BluetoothAdapter.getDefaultAdapter().
Change-Id: Ic8f2188a28631f55ceb048daff545ca5e6053f92
DrNo: eastham
Bug: 2158765
Joke: When is a car not a car? When it turns into a driveway.
Diffstat (limited to 'src/com/android/settings/deviceinfo')
-rw-r--r-- | src/com/android/settings/deviceinfo/Status.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/deviceinfo/Status.java b/src/com/android/settings/deviceinfo/Status.java index 824dbb8..a736cc0 100644 --- a/src/com/android/settings/deviceinfo/Status.java +++ b/src/com/android/settings/deviceinfo/Status.java @@ -377,7 +377,7 @@ public class Status extends PreferenceActivity { } private void setBtStatus() { - BluetoothAdapter bluetooth = (BluetoothAdapter) getSystemService(BLUETOOTH_SERVICE); + BluetoothAdapter bluetooth = BluetoothAdapter.getDefaultAdapter(); Preference btAddressPref = findPreference(KEY_BT_ADDRESS); if (bluetooth == null) { |