Files
android/libwvdrmengine/mediadrm/src_hidl
Edwin Wong 385616a3f0 Fix getSecureStop returns zero opaque data intermittently.
Merge from http://go/wvgerrit/69587

In getSecureStop, the life of cdmStop will expire when
leaving the if (isCmdResponseTypeSuccess()) scope.
Since setToExternal() which is called by toHidlVec()
only performs a pointer assignment, the content of cdmStop
is lost and secureStop.opaqueData will have all zeros.

Test: netflix streaming and offline playback

Test: Play Movies & TV

Test: GTS test
  -m GtsMediaTestCases --test com.google.android.media.gts.MediaDrmTest#testWidevineApi28

Test: GTS test
  -m GtsMediaTestCases

bug: 120624463
Change-Id: I787e2b931561f07ca7346cb5a8968b868c08cee8
2019-01-07 21:32:56 +00:00
..
2018-04-16 16:38:05 -07:00