commit | ba809b86b221864f5736bd65289bb93794cf532c | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Fri Mar 04 18:11:10 2022 -0500 |
committer | Atneya Nair <atneya@google.com> | Fri Mar 04 18:11:10 2022 -0500 |
tree | a7c33ac03cb45d10a3ce6cbf70d9115bbf86503e | |
parent | b428b0099c094afb8b1e783066a20c4ff5700a5e [diff] |
Avoid callback promotion in set We don't need to promote a wp to check if it is null. Avoiding this promote prevents racy behavior when the callee passes themselves during construction. Test: atest AudioTrackTest Change-Id: Ia1ba37e4f2bed5ea2da2858cec6a750d2bea3a12