commit | 118c2715ddbb42fc872348512d37ad0c4828021c | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Wed Jan 19 16:56:17 2022 -0800 |
committer | Andy Hung <hunga@google.com> | Mon Jan 24 18:16:50 2022 +0000 |
tree | c526a7e291ebf274bacebc9d086d9ce556451cd1 | |
parent | d7f33c5ba46b01e3e580597260cd0ffffdf773b6 [diff] |
AudioTrack: Refine the wait for volume ramp on pause This avoids pop due to a flush immediately after pause done by MediaPlayer. Test: Play YT Music, adjust notification volume in settings and see if there is a pop at the end of playback. Bug: 202376326 Merged-In: I8bfede65bd4e8daa721d25af1ade44382937df95 Change-Id: I8bfede65bd4e8daa721d25af1ade44382937df95 (cherry picked from commit d87a53a327c7e4af6a1ec508d7f70579fe99ae63)