diff options
author | Nick Pelly <npelly@google.com> | 2009-10-08 00:57:45 +0200 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2009-10-08 00:57:45 +0200 |
commit | 3a88b20fcd71e42451e402d27374b19eeb2ff0da (patch) | |
tree | 0296f21d291a5fde18b7d8864e854eb1c5d00ad9 /src/com/android/bluetooth/opp/BluetoothOppTransfer.java | |
parent | 4787d49803e48d58c78be2debe0631b51002d3fb (diff) | |
download | android_packages_apps_Bluetooth-3a88b20fcd71e42451e402d27374b19eeb2ff0da.tar.gz android_packages_apps_Bluetooth-3a88b20fcd71e42451e402d27374b19eeb2ff0da.tar.bz2 android_packages_apps_Bluetooth-3a88b20fcd71e42451e402d27374b19eeb2ff0da.zip |
Update application code for BluetoothAdapter.getDefaultAdapter().
Change-Id: I7baafb909b74783da4e51d48f2465e7aacf07eb5
DrNo: eastham
Bug: 2158765
Joke: What goes 99-thump, 99-thump? A centipede with a wooden leg.
Diffstat (limited to 'src/com/android/bluetooth/opp/BluetoothOppTransfer.java')
-rw-r--r-- | src/com/android/bluetooth/opp/BluetoothOppTransfer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/bluetooth/opp/BluetoothOppTransfer.java b/src/com/android/bluetooth/opp/BluetoothOppTransfer.java index 7ca7857db..d892e70dc 100644 --- a/src/com/android/bluetooth/opp/BluetoothOppTransfer.java +++ b/src/com/android/bluetooth/opp/BluetoothOppTransfer.java @@ -116,7 +116,7 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch mSession = session; mBatch.registerListern(this); - mAdapter = (BluetoothAdapter)mContext.getSystemService(Context.BLUETOOTH_SERVICE); + mAdapter = BluetoothAdapter.getDefaultAdapter(); } |