Skip to content
Commit 8fd5d5e8 authored by jiabin's avatar jiabin
Browse files

Add lock when adjusting suggested stream volume.

When adjusting suggested stream volume, we may set the stream type
according to mVolumeControlStream, which could be changed by other
thread. To avoid getting stream type -1, which cause crash when checking
stream type, add a lock request in adjustSuggestedStreamVolume.

Bug: 71333271
Test: Manually test
Change-Id: If98f50f4f2389818b7ac3b0f33bdc7e27f3ad3f8
parent 32ca41d0
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