Loading core/java/android/bluetooth/BluetoothHeadset.java +0 −21 Original line number Diff line number Diff line Loading @@ -814,27 +814,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 * Loading core/java/android/bluetooth/IBluetoothHeadset.aidl 100644 → 100755 +0 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading
core/java/android/bluetooth/BluetoothHeadset.java +0 −21 Original line number Diff line number Diff line Loading @@ -814,27 +814,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 * Loading
core/java/android/bluetooth/IBluetoothHeadset.aidl 100644 → 100755 +0 −1 Original line number Diff line number Diff line Loading @@ -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); }