OSDN Git Service

HFP: Remove parameter to start/stopScoUsingVirtualVoiceCall
authorJack He <siyuanh@google.com>
Thu, 3 May 2018 23:37:09 +0000 (16:37 -0700)
committerJack He <siyuanh@google.com>
Sat, 5 May 2018 02:52:44 +0000 (19:52 -0700)
* Since HFP SCO routing is managed by setActiveDevice, there is no need
  for an input parameter to start/stopScoUsingVirtualVoiceCall

Bug: 76114959
Test: build
Change-Id: I2a3f9f7cb1191e2831d30630b2e0c3bee4a0acdb

binder/android/bluetooth/IBluetoothHeadset.aidl

index 60a92d2..f8dfb65 100644 (file)
@@ -51,8 +51,8 @@ interface IBluetoothHeadset {
     void setAudioRouteAllowed(boolean allowed);
     boolean getAudioRouteAllowed();
     void setForceScoAudio(boolean forced);
-    boolean startScoUsingVirtualVoiceCall(in BluetoothDevice device);
-    boolean stopScoUsingVirtualVoiceCall(in BluetoothDevice device);
+    boolean startScoUsingVirtualVoiceCall();
+    boolean stopScoUsingVirtualVoiceCall();
     oneway void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type);
     void clccResponse(int index, int direction, int status, int mode, boolean mpty,
                       String number, int type);