diff options
| author | 2011-01-26 09:16:07 -0800 | |
|---|---|---|
| committer | 2011-01-26 09:16:07 -0800 | |
| commit | ff3b3ade7fa1da60d391d1a746cdc0868c24f4bf (patch) | |
| tree | c18db06186721098bb3ee96b4182ecaa4079d6a1 | |
| parent | 93a0110e94da1144d949fc06070ba8250f9a1825 (diff) | |
| parent | 5a9ac240feffa84773c322a03b1cdd6e99f0e21c (diff) | |
Merge "Revert "Temporary Changes for certification of SCO."" into honeycomb
| -rw-r--r-- | core/java/android/bluetooth/BluetoothHeadset.java | 20 | ||||
| -rw-r--r-- | core/java/android/bluetooth/IBluetoothHeadset.aidl | 2 |
2 files changed, 0 insertions, 22 deletions
diff --git a/core/java/android/bluetooth/BluetoothHeadset.java b/core/java/android/bluetooth/BluetoothHeadset.java index f5f6092be1a1..768a6ff17c94 100644 --- a/core/java/android/bluetooth/BluetoothHeadset.java +++ b/core/java/android/bluetooth/BluetoothHeadset.java @@ -682,26 +682,6 @@ public final class BluetoothHeadset implements BluetoothProfile { return false; } - /** - * Send a AT command message to the headset. - * @param device Remote Bluetooth Device - * @param cmd The String to send. - * @hide - */ - public void sendAtCommand(BluetoothDevice device, String command) { - if (DBG) log("sendAtCommand()"); - if (mService != null && isEnabled() && isValidDevice(device)) { - try { - mService.sendAtCommand(device, command); - } catch (RemoteException e) { - Log.e(TAG, e.toString()); - } - } else { - Log.w(TAG, "Proxy not attached to service"); - if (DBG) Log.d(TAG, Log.getStackTraceString(new Throwable())); - } - } - private ServiceConnection mConnection = new ServiceConnection() { public void onServiceConnected(ComponentName className, IBinder service) { if (DBG) Log.d(TAG, "Proxy object connected"); diff --git a/core/java/android/bluetooth/IBluetoothHeadset.aidl b/core/java/android/bluetooth/IBluetoothHeadset.aidl index 41f63b27721e..273cda73bea5 100644 --- a/core/java/android/bluetooth/IBluetoothHeadset.aidl +++ b/core/java/android/bluetooth/IBluetoothHeadset.aidl @@ -50,6 +50,4 @@ interface IBluetoothHeadset { boolean startScoUsingVirtualVoiceCall(in BluetoothDevice device); boolean stopScoUsingVirtualVoiceCall(in BluetoothDevice device); - - void sendAtCommand(in BluetoothDevice device, String urc); } |