summaryrefslogtreecommitdiff
path: root/libs/hwui/LayerUpdateQueue.cpp
diff options
context:
space:
mode:
author Youyan Jiang <jiangyy3@motorola.com> 2024-08-30 10:57:24 +0800
committer Yinchu Chen <chenyc5@motorola.com> 2024-09-24 10:48:37 +0000
commit996c4319463013b75c6ecff385799e74b22abd0b (patch)
treeacd2fd2c7125e83c27957df940ca140c94dc8f6f /libs/hwui/LayerUpdateQueue.cpp
parente3a5bb9d61dc070294900e6dd058419023e18c35 (diff)
AudioDeviceInventory: fix unsynced preferred device role when reapply
The preferred device role request from AudioManager will set the device role to audio policy first and then save it to mPreferredDevices asynchronously. It may result in the old preferred device role reapplied in reapplyExternalDevicesRoles and unmatched device role between AudioService and audioserver The change contains: 1. guard list of preferred/non-default devices by mDevicesLock 2. call save preferred device functions directly. Bug:362664068 Change-Id: I9bbc5e30ca3c9ddd2494577ea6e40b9f93bd83db
Diffstat (limited to 'libs/hwui/LayerUpdateQueue.cpp')
0 files changed, 0 insertions, 0 deletions