Commit graph

2 commits

Author SHA1 Message Date
Ryan Prichard
0d97a2bd57 closeSession: actually remove elements from sessions_
std::remove_if consolidates the non-removed elements at the start of
the vector, but it doesn't change the vector's size. After upgrading
libc++, std::remove_if is [[nodiscard]], so this bug causes a compiler
error.

Bug: 175635923
Test: m android.hardware.drm-service.castkey
Change-Id: Ie9734e616f0f93e290cd61f929af04598f236ee7
2023-09-20 17:36:38 -07:00
Haoming Wu
66c1664383 CastAuthApk: Castkey AIDL mediaDrm plugin
Bug: 229298787
Test: Access Cast creds with MediaDrm plugin
Change-Id: I085b193ff4046d9005366c8bc8b3eb8020716b4b
2022-10-04 05:01:59 +00:00