summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorRavi Nagarajan <nravi@broadcom.com>2013-05-06 01:18:46 -0700
committerZhihai Xu <zhihaixu@google.com>2013-05-13 18:06:09 -0700
commit69925b149fb6a1e22839dd5f81b6bdc23a4d0125 (patch)
tree2a7d7c0be632323dc3a6f5614877c81f4b6414c9 /core/java/android
parent7651c69e38c8c662727b281663cde66ad6bd6da7 (diff)
Remove roamChanged API
Roam state listerner will be handled inside the Bluetooth apk. Remove the binder API from wrapper class bug 8781689 Change-Id: I31c2b899069774620b1406faeb3c68ad1e60b599
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/bluetooth/BluetoothHeadset.java21
-rwxr-xr-x[-rw-r--r--]core/java/android/bluetooth/IBluetoothHeadset.aidl1
2 files changed, 0 insertions, 22 deletions
diff --git a/core/java/android/bluetooth/BluetoothHeadset.java b/core/java/android/bluetooth/BluetoothHeadset.java
index 793d79858c6c..963e9fcb2111 100644
--- a/core/java/android/bluetooth/BluetoothHeadset.java
+++ b/core/java/android/bluetooth/BluetoothHeadset.java
@@ -815,27 +815,6 @@ public final class BluetoothHeadset implements BluetoothProfile {
}
/**
- * Notify Headset of phone roam state change.
- * This is a backdoor for phone app to call BluetoothHeadset since
- * there is currently not a good way to get roaming state change outside
- * of phone app.
- *
- * @hide
- */
- public void roamChanged(boolean roaming) {
- if (mService != null && isEnabled()) {
- try {
- mService.roamChanged(roaming);
- } 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()));
- }
- }
-
- /**
* Send Headset of CLCC response
*
* @hide
diff --git a/core/java/android/bluetooth/IBluetoothHeadset.aidl b/core/java/android/bluetooth/IBluetoothHeadset.aidl
index fc7627ae5c83..285eea7546fa 100644..100755
--- a/core/java/android/bluetooth/IBluetoothHeadset.aidl
+++ b/core/java/android/bluetooth/IBluetoothHeadset.aidl
@@ -50,7 +50,6 @@ interface IBluetoothHeadset {
boolean startScoUsingVirtualVoiceCall(in BluetoothDevice device);
boolean stopScoUsingVirtualVoiceCall(in BluetoothDevice device);
void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type);
- void roamChanged(boolean roam);
void clccResponse(int index, int direction, int status, int mode, boolean mpty,
String number, int type);
}