diff options
| author | 2022-02-08 10:59:13 +0100 | |
|---|---|---|
| committer | 2022-04-01 18:16:39 +0200 | |
| commit | 8f18957e4c017ca86e86fff84f5fdc8b79235878 (patch) | |
| tree | fde832de679f78a48755b95e7325f02dab997c25 /libs/androidfw/StringPool.cpp | |
| parent | 24da93d99b18d6ce3a2501118d2cfd7203e8fbaf (diff) | |
Implement support for Absolute Volume Control
- Adds logic for enabling or disabling AVC. This is checked whenever one
of the necessary conditions for AVC changes.
(HdmiControlService#checkAbsoluteVolumeConditions)
- Adds code for listening for audio status changes from AudioService
when using AVC (HdmiControlService#AbsoluteVolumeChangedListener).
- Adds code for notifying AudioService of volume changes on the System
Audio device (HdmiControlService#notifyAvcVolumeChange,
HdmiControlService#notifyAvcMuteChange)
- Adds action for querying and monitoring the audio status of the System
Audio device (AbsoluteVolumeAudioStatusAction).
- Removes SystemAudioStatusAction: it is no longer needed because we
use full volume when in System Audio Mode, and don't track audio status.
Test: atest PlaybackDeviceToAudioSystemAvcTest
PlaybackDeviceToTvAvcTest TvToAudioSystemAvcTest
Bug: 205817429
Change-Id: I4d7772de851b12085bb2e9844a41d52245ee1d4a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions