Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2bd4bc25 authored by Weilin Xu's avatar Weilin Xu
Browse files

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
parent 0d5f65a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment