commit | 511599f564ef63ebdfd451dd68cb4dae490a1a94 | [log] [tgz] |
---|---|---|
author | Jaideep Sharma <quic_jaidshar@quicinc.com> | Thu Jan 06 13:38:57 2022 +0530 |
committer | Andy Hung <hunga@google.com> | Fri Oct 18 16:37:54 2024 -0700 |
tree | ffded70cec01e31988f828b6f45df9d28c304a17 | |
parent | e77867fc32ca7308babb21acd885e2fce9d73e5b [diff] |
libmediaplayerservice: Explicitly force callbacks to stop running This is needed to prevent a race condition with the callbacks running after a close. MediaPlayerService instance can go out of scope and callbacks from AudioTrack can lead to crash in MediaPlayerService or NuPlayer. Flag: EXEMPT bugfix Bug: 183765091 Bug: 351695164 Test: see bug for validation Change-Id: I48ebb5643b65eec8751c7bd345bc1266c4a98659