Loading framework/java/android/bluetooth/BluetoothHeadset.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -973,11 +973,11 @@ public final class BluetoothHeadset implements BluetoothProfile { */ */ @UnsupportedAppUsage @UnsupportedAppUsage public void phoneStateChanged(int numActive, int numHeld, int callState, String number, public void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type) { int type, String name) { final IBluetoothHeadset service = mService; final IBluetoothHeadset service = mService; if (service != null && isEnabled()) { if (service != null && isEnabled()) { try { try { service.phoneStateChanged(numActive, numHeld, callState, number, type); service.phoneStateChanged(numActive, numHeld, callState, number, type, name); } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString()); Log.e(TAG, e.toString()); } } Loading Loading
framework/java/android/bluetooth/BluetoothHeadset.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -973,11 +973,11 @@ public final class BluetoothHeadset implements BluetoothProfile { */ */ @UnsupportedAppUsage @UnsupportedAppUsage public void phoneStateChanged(int numActive, int numHeld, int callState, String number, public void phoneStateChanged(int numActive, int numHeld, int callState, String number, int type) { int type, String name) { final IBluetoothHeadset service = mService; final IBluetoothHeadset service = mService; if (service != null && isEnabled()) { if (service != null && isEnabled()) { try { try { service.phoneStateChanged(numActive, numHeld, callState, number, type); service.phoneStateChanged(numActive, numHeld, callState, number, type, name); } catch (RemoteException e) { } catch (RemoteException e) { Log.e(TAG, e.toString()); Log.e(TAG, e.toString()); } } Loading