Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72d2952f authored by Jaikumar Ganesh's avatar Jaikumar Ganesh
Browse files

Update sendConnectionState change function paramter.

Change-Id: Iaf7e43d35ab4a5da325ebae77cbb72617705c772
parent 6136c134
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ import android.app.Service;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothPbap;
import android.bluetooth.BluetoothProfile;
import android.bluetooth.BluetoothServerSocket;
import android.bluetooth.BluetoothSocket;
import android.bluetooth.IBluetooth;
@@ -633,7 +634,8 @@ public class BluetoothPbapService extends Service {
            intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevice);
            sendBroadcast(intent, BLUETOOTH_PERM);
            try {
                mBluetoothService.sendConnectionStateChange(mRemoteDevice, mState, state);
                mBluetoothService.sendConnectionStateChange(mRemoteDevice, BluetoothProfile.PBAP,
                                                            mState, state);
            } catch (RemoteException e) {
                Log.e(TAG, "RemoteException in sendConnectionStateChange");
            }