diff options
author | Tomasz Wasilczyk <twasilczyk@google.com> | 2018-03-28 17:48:18 -0700 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@google.com> | 2018-03-28 17:48:18 -0700 |
commit | 5e6bebbd83e19451ba250c3d78aeceb5c7038b06 (patch) | |
tree | 59629d2999517aa2bb910a004b8d12fbc3f5601a /broadcastradio | |
parent | 1641a23adf4d8f214bee485d16336542234ea60e (diff) | |
download | android_hardware_interfaces-5e6bebbd83e19451ba250c3d78aeceb5c7038b06.tar.gz android_hardware_interfaces-5e6bebbd83e19451ba250c3d78aeceb5c7038b06.tar.bz2 android_hardware_interfaces-5e6bebbd83e19451ba250c3d78aeceb5c7038b06.zip |
Update program list when switching bands.
Test: manual
Bug: 74353024
Change-Id: I893cd4f9c7d14951924759792206af798b0ceefc
Diffstat (limited to 'broadcastradio')
-rw-r--r-- | broadcastradio/1.1/default/Tuner.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/broadcastradio/1.1/default/Tuner.cpp b/broadcastradio/1.1/default/Tuner.cpp index ae0187987..4b49b59f9 100644 --- a/broadcastradio/1.1/default/Tuner.cpp +++ b/broadcastradio/1.1/default/Tuner.cpp @@ -86,6 +86,7 @@ void Tuner::setConfigurationInternalLocked(const BandConfig& config) { mIsAmfmConfigSet = true; mCallback->configChange(Result::OK, mAmfmConfig); + if (mCallback1_1 != nullptr) mCallback1_1->programListChanged(); } bool Tuner::autoConfigureLocked(uint64_t frequency) { |