diff options
author | Sungsoo Lim <sungsoo@google.com> | 2020-06-19 14:41:17 +0900 |
---|---|---|
committer | Sungsoo Lim <sungsoo@google.com> | 2020-06-19 14:42:08 +0900 |
commit | 0ea65316f496bdb866a50aaff5cc9f8acfd724e4 (patch) | |
tree | c75fccf8e92808504fa66349a48bb584aad26753 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 6555756e9000a8f137933973b8652593d0e081bb (diff) |
Prevent unnecessary call of setBluetoothA2dpOn(false)
When an active BT device is changed, instead of just notifying that
the changed BT name, AudioService sometimes notify it with two steps.
1) Notify prev BT disconnected
2) Notify new BT connected
By not calling setBluetoothA2dpOn(false) when BT is disconnected,
we can prvent the unnecessary call of it.
Bug: 144784716
Test: manual
Change-Id: I31442204cd4dd4a78552e0f993e9dfa37d6fc03f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions