commit | efe34a570d91b826b009d40e44c2e470dd180ace | [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> | Mon Sep 10 23:19:43 2018 +0000 |
tree | 6f8cba4a481eb17b7a40c62145c0e8473e3bb8b6 | |
parent | 3c99bb4e5e6157eb085d12807bdc38d7fd60f888 [diff] |
Fix race condition for cas sessions 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 7934a8f7ee0988b181980b9e6f24ca7dd357f5e3)