commit | b4585a929008808e240f28e50fab85cf029950da | [log] [tgz] |
---|---|---|
author | Stanley Tng <stng@google.com> | Wed Feb 13 15:34:03 2019 -0800 |
committer | Stanley Tng <stng@google.com> | Wed Feb 13 16:19:59 2019 -0800 |
tree | f4d740b517ced2581261fbfc8200dde11cec492e | |
parent | fa7070cb1f59222dab019ce910fbae6d9a41d851 [diff] |
Fix the volume of A2DP devices which switching audio When switching audio between Hearing Aids and A2DP devices, the stored volume may be incorrect due to a race condition with the audio service. This CL will only stored the A2DP when switching away from A2DP and also before the audio service starts its processing. Bug: 123720932 Test: Manual test with switching between Hearing Aids and A2DP speaker Change-Id: I634ab58f6103197e7a99301b1e9f4d28e55e35a5