commit | f1007faebab8bbf4770bf182366c6e1ecb678048 | [log] [tgz] |
---|---|---|
author | Paul Wang <tzupengwang@google.com> | Fri Feb 24 14:30:47 2023 +0000 |
committer | Paul Wang <tzupengwang@google.com> | Tue Mar 07 13:30:37 2023 +0000 |
tree | a0c4bee6c0598bf200c8cc5a9b2c71da195bfa8f | |
parent | 5bb798f518b6f0e5a62d6b617109d9b4f2cda55a [diff] |
Avoid disabling LE Audio when BT is off The `updateState` function gets called when the Developer Options menua is rendered (opened). Originally when BT is off at this point, LE Audio is disabled, and the user needs to reboot the device again to enable LE Audio. This CL fixes this and marks the option as disabled when BT is off. Bug: 263684630 Test: Manual Change-Id: I243e2c57fc12bfefd4ab83f63336fb41639f05a0