Loading core/java/android/bluetooth/BluetoothSap.java +2 −0 Original line number Diff line number Diff line Loading @@ -120,6 +120,7 @@ public final class BluetoothSap implements BluetoothProfile { synchronized (mConnection) { if ( mSapService != null) { try { mSapService.cleanup(); mSapService = null; mContext.unbindService(mConnection); } catch (Exception re) { Loading Loading @@ -150,6 +151,7 @@ public final class BluetoothSap implements BluetoothProfile { synchronized (mConnection) { if ( mSapService != null) { try { mSapService.cleanup(); mSapService = null; mContext.unbindService(mConnection); } catch (Exception re) { Loading core/java/android/bluetooth/IBluetoothSap.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ import android.bluetooth.BluetoothDevice; */ interface IBluetoothSap { // Public API boolean cleanup(); boolean disconnect(in BluetoothDevice device); int getConnectionState(in BluetoothDevice device); List<BluetoothDevice> getConnectedDevices(); Loading Loading
core/java/android/bluetooth/BluetoothSap.java +2 −0 Original line number Diff line number Diff line Loading @@ -120,6 +120,7 @@ public final class BluetoothSap implements BluetoothProfile { synchronized (mConnection) { if ( mSapService != null) { try { mSapService.cleanup(); mSapService = null; mContext.unbindService(mConnection); } catch (Exception re) { Loading Loading @@ -150,6 +151,7 @@ public final class BluetoothSap implements BluetoothProfile { synchronized (mConnection) { if ( mSapService != null) { try { mSapService.cleanup(); mSapService = null; mContext.unbindService(mConnection); } catch (Exception re) { Loading
core/java/android/bluetooth/IBluetoothSap.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,7 @@ import android.bluetooth.BluetoothDevice; */ interface IBluetoothSap { // Public API boolean cleanup(); boolean disconnect(in BluetoothDevice device); int getConnectionState(in BluetoothDevice device); List<BluetoothDevice> getConnectedDevices(); Loading