commit | 19813e76a803358f1d519f4abb4808cc282e300f | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Aug 24 14:49:33 2018 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Tue Sep 11 23:08:30 2018 +0000 |
tree | c755f7dc06eb85b57918f959c6a456d4146e7683 | |
parent | 61f5bf3b737e80875ca1166756df0997756cf606 [diff] |
Fix race condition for cas sessions -- DO NOT MERGE Change the session to shared_ptr and use atomic_load/store. Test: POC; CTS MediaCasTest; CTS MediaDrmClearkeyTest# testClearKeyPlaybackMpeg2ts bug: 113027383 Change-Id: I75f4cb33a022f28d45918442d64c5c46df2640ef (cherry picked from commit 58b9e7d73c9e2a7a7ff11a4584fd1e1105669831)