diff options
| author | Christine Hallstrom <hallstrom@google.com> | 2016-05-25 15:49:08 -0700 |
|---|---|---|
| committer | Christine Hallstrom <hallstrom@google.com> | 2016-05-26 13:20:56 -0700 |
| commit | 995c90aa1856e8ef7b3397b775720941d3dcb133 (patch) | |
| tree | 997157f84ee0dbfcd34d5fe862ad53203f1bf53b /rs/java/android/renderscript/ProgramStore.java | |
| parent | ce8e88aaabdca9572a17e59e4d54db055a11e10a (diff) | |
Properly check if BT is off when shutting down radios
Use BluetoothAdapter#getState() instead of
BluetoothAdapter#isEnabled() when checking if Bluetooth has turned
off, as isEnabled() is set to false early in the shutdown process
and getState() provides a better indication of the state of BT.
Bug: 27354612
Change-Id: Ic7828f0726491d49c9a14ba5d654b24f66743662
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions
