summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothCodecConfig.java
diff options
context:
space:
mode:
authorMarie Janssen <jamuraa@google.com>2016-12-15 13:51:30 -0800
committerAndre Eisenbach <eisenbach@google.com>2016-12-16 22:50:13 +0000
commit0e22d63c17545b97edb4b8181204d7676c047efd (patch)
tree8230049dcf684e44f7b6bf81d72fda037d7c6bc2 /framework/java/android/bluetooth/BluetoothCodecConfig.java
parentc1b40c2172735fc407c2bd5df98c5812297ffa36 (diff)
Bluetooth: fix issues re-enabling after crash
When Bluetooth crashes, sometimes an LE app restarts it before ActivityManager gets a chance. In this case, the Bluetooth manager would assume the state should be LE only and did not continue to fully enabled. Luckily in this case the persisted system state is also ON. Use the persisted state as information about whether we should be fully enabled. Test: basic sanity check, forced crash of BT Bug: 33632976 Change-Id: I546d7abccb82a26fcca2eb70d6d7c76e9510404e
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothCodecConfig.java')
0 files changed, 0 insertions, 0 deletions