summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Yan Han <yanha@google.com> 2023-05-11 16:38:00 +0200
committer Yan Han <yanha@google.com> 2023-05-12 11:18:12 +0200
commit5310682e6e1ba797accd30b3336b2fe71fe329d2 (patch)
tree223693409ff9a67932a7c1724993651077a35c90 /libs/androidfw/ApkParsing.cpp
parent9ccb30e3aefa213da3ca27ad8df2df2f50b41fa7 (diff)
Improve reliability of soundbar volume UI on TVs.
Currently, volume behavior can switch from adjust-only AVB to full volume behavior multiple times shortly after plugging in a soundbar. This causes volume UI to stop working intermittently, and adds noise to volume behavior listeners. This CL makes two changes to make this less likely: 1. When switching from adjust-only AVB to regular AVB, don't switch to full volume while waiting for the change to take place. Staying with adjust-only AVB is fine because it provides a subset of the features of regular AVB. 2. When <SAVL> support becomes unknown, don't switch to full volume behavior from adjust-only absolute volume behavior. It's unnecessary because adjust-only absolute volume behavior may be used regardless of <SAVL> support. Test: manual with falcon and atom Bug: 282012994 Change-Id: Ibf99fb67788441d5257c63b64a4b6683c9336798
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions