commit | 2bd4bc2591cbc03c3b052c9438795be917794ca5 | [log] [tgz] |
---|---|---|
author | Weilin Xu <xuweilin@google.com> | Thu Feb 29 17:24:15 2024 -0800 |
committer | Weilin Xu <xuweilin@google.com> | Fri Mar 08 14:31:28 2024 -0800 |
tree | 774c96746093a14c5a23886588fe38ab309d9b28 | |
parent | 0d5f65a7a539556741864ee05e07ab1b233088ce [diff] |
Set bcradio HAL tuner callback when sessions exist Set broadcast radio HAL tuner callback for a radio tuner only when there is at least one active tuner session, unset tuner callbacks otherwise. This allows that radio tuner chip powers on only when it is used in app, which reduces power consumption. Bug: 327686652 Test: atest com.android.server.broadcastradio.aidl Change-Id: Ie1fd55e2ad8983c59e4cf5ad711dd88fed84e4fd