commit | 714b1c1d2c919bda5c411386933147121d621d09 | [log] [tgz] |
---|---|---|
author | hughchen <hughchen@google.com> | Fri Mar 23 15:54:29 2018 +0800 |
committer | Hugh Chen <hughchen@google.com> | Fri Mar 30 06:34:21 2018 +0000 |
tree | 0b2610a379722288ef51fafc9da6d3a2ad6a68b0 | |
parent | b5dcf7d3ac4f8b213085eb266588acb2117b4044 [diff] [blame] |
Add callback onProfileAudioStateChanged() Bug: 74134939 Test: Build Change-Id: Ibbe65c65b76ecfcb8980b931c37a300d01cbef3c
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java index fcf084b..94db95a 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothControllerImpl.java
@@ -279,6 +279,9 @@ @Override public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {} + @Override + public void onProfileAudioStateChanged(int bluetoothProfile, int state) {} + private ActuallyCachedState getCachedState(CachedBluetoothDevice device) { ActuallyCachedState state = mCachedState.get(device); if (state == null) {