Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java +12 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,18 @@ public class BluetoothControllerImpl implements BluetoothController, BluetoothCa mHandler.sendEmptyMessage(H.MSG_STATE_CHANGED); } @Override public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, int bluetoothProfile) { if (DEBUG) { Log.d(TAG, "ProfileConnectionStateChanged=" + cachedDevice.getAddress() + " " + stateToString(state) + " profileId=" + bluetoothProfile); } mCachedState.remove(cachedDevice); updateConnected(); mHandler.sendEmptyMessage(H.MSG_STATE_CHANGED); } @Override public void onAclConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { if (DEBUG) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java +12 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,18 @@ public class BluetoothControllerImpl implements BluetoothController, BluetoothCa mHandler.sendEmptyMessage(H.MSG_STATE_CHANGED); } @Override public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, int bluetoothProfile) { if (DEBUG) { Log.d(TAG, "ProfileConnectionStateChanged=" + cachedDevice.getAddress() + " " + stateToString(state) + " profileId=" + bluetoothProfile); } mCachedState.remove(cachedDevice); updateConnected(); mHandler.sendEmptyMessage(H.MSG_STATE_CHANGED); } @Override public void onAclConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { if (DEBUG) { Loading