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

Skip to content
Commit acb5f586 authored by haobo10173529's avatar haobo10173529 Committed by Jia Jia
Browse files

audiopolicy: Fixed bug for rule file of strategy sonification respectful

If 'USE_CONFIGURABLE_AUDIO_POLICY' enabled, 'engineconfigurable'
will be used for devices selection. A bug was found in rule file
for strategy_sonification_respectful if rule file used to generate
PolicyConfigurableDomains.xml, and in that case the function of
AudioPolicyManager::getDevicesForStream will always return wrong
devices after device2, e.g., headset, connected and removed.

After removed, device2 should be reset to 'none', otherwise the
devices returned for strategy_sonification_respecful will always
not changed.

Change-Id: I656781ed46b73c5bef1f18612700a5547ea0043f
parent 6bff4d55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment