Loading src/com/android/bluetooth/a2dp/A2dpStateMachine.java +7 −0 Original line number Diff line number Diff line Loading @@ -214,6 +214,13 @@ final class A2dpStateMachine extends StateMachine { } public void cleanup() { int deviceSize = mConnectedDevicesList.size(); log("cleanup: mConnectedDevicesList size is " + deviceSize); for (int i = 0; i < deviceSize; i++) { mCurrentDevice = mConnectedDevicesList.get(i); broadcastConnectionState(mCurrentDevice, BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_CONNECTED); } cleanupNative(); } Loading Loading
src/com/android/bluetooth/a2dp/A2dpStateMachine.java +7 −0 Original line number Diff line number Diff line Loading @@ -214,6 +214,13 @@ final class A2dpStateMachine extends StateMachine { } public void cleanup() { int deviceSize = mConnectedDevicesList.size(); log("cleanup: mConnectedDevicesList size is " + deviceSize); for (int i = 0; i < deviceSize; i++) { mCurrentDevice = mConnectedDevicesList.get(i); broadcastConnectionState(mCurrentDevice, BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_CONNECTED); } cleanupNative(); } Loading