diff options
author | Ugo Yu <ugoyu@google.com> | 2019-11-20 17:59:11 +0800 |
---|---|---|
committer | Ugo Yu <ugoyu@google.com> | 2019-11-26 11:20:29 +0800 |
commit | 96067532ad3ca7966ea5cfd5ebf966675f9a9334 (patch) | |
tree | 40614d276aeb57569fa59b7824a9f8086cfaf877 /framework/java/android/bluetooth/BluetoothA2dpSink.java | |
parent | 2ad71dd2fc1f41418be88098c2ea5e09e3edb6ec (diff) |
Limit the retry attemps on restarting Bluetooth
* Back off the delay time of resarting Bluetooth when
there's continous turn on failures.
* Stop to restart Bluetooth if we are seeing back to
back Bluetooth crashes, so we won't see endless
diaglogs popping out.
Bug: 144572641
Test: Manual
Change-Id: Ifeffa214256eab61901c123fc88b037fc6d7dd50
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothA2dpSink.java')
0 files changed, 0 insertions, 0 deletions