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

Commit 850d90b4 authored by PK Guo's avatar PK Guo Committed by Mikhail Naganov
Browse files

audio: fix SAD and SAM inconsistent after audioserver crash

When restoring setting after audioserver crash
1. The setHdmiSystemAudioSupported doesn't setForceUse with SAM
because the setting value is equal to mHdmiSystemAudioSupported.
2. The SAD is stored in the AudioDescriptor, but AudioDescriptor
isn't pass to native layer.

Adjust logic to ensure that SAM and AudioDescriptor can set to
native layer when restoring setting after the crash.

Flag: EXEMPT bugfix
Bug: 412816152
Test: manual
(cherry picked from https://android-review.googlesource.com/q/commit:c8c71a45626b84c079b877e656a228f12de491d7)
Change-Id: Idb16a66f087d8558d7bd26048f1d7284acfb5dd8
parent ccd028ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment