commit | 43e1cc08ab29b30d5711bb0a8b0da1b2d46fb339 | [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:19:04 2018 +0000 |
tree | 126400ddb0a13c6205bd45396cc4b2fd7fb41cfc | |
parent | 969c836d2b3f8ddeaabd917da6110e52f3cd9688 [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)