summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Yan Han <yanha@google.com> 2023-10-25 16:47:16 +0200
committer Yan Han <yanha@google.com> 2023-11-01 10:32:04 +0000
commit7de0e5ade7d63f2e50523b95193034c19e7e6051 (patch)
tree9820d314576b35e8efccb32a7bca5df37e33fc2b /libs/androidfw/FileStream.cpp
parent7631cf0c9ad60a77b89c25f0b6d70e6f68bc0888 (diff)
Always show volume UI on TV after receiving <Report Audio Status>.
Previously, when the AVR reported its audio status, HdmiControlService would only notify AudioService (and trigger volume UI) if the volume level or mute state changed from the last time it was reported. However, this means that the user gets no visual feedback when they adjust the volume if the change in the AVR is too small for it to reach a new percentage point (e.g. AVR volume goes from 10.0% to 10.4%). This is because <Report Audio Status> represents volume levels in increments of 1%; 10% and 10.4% would both round to 10%. With this CL, when a TV panel receives <Report Audio Status> from the AVR, HdmiControlService will trigger volume UI even if the audio status didn't change from the previous one. Bug: 304279125 Test: manual Test: atest PlaybackDeviceToTvAvbTest PlaybackDeviceToAudioSystemAvbTest TvToAudioSystemArcAvbTest TvToAudioSystemEarcAvbTest Change-Id: I1e933b71091e04187fcc8659d7b3a12ed32f166a
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions