commit | cefac14261a32fb856b0d1ab31541787112e306e | [log] [tgz] |
---|---|---|
author | Hassan Shojania <shojania@google.com> | Mon Feb 06 21:02:02 2017 -0800 |
committer | Hassan Shojania <shojania@google.com> | Wed Feb 15 18:15:37 2017 -0800 |
tree | d6fb3a4890929e05a5ffccc2d09c0b9da3d6bddc | |
parent | 2f77a2229be73b222098c45aed73728842667e12 [diff] [blame] |
Modular DRM for MediaPlayer Bug: 34559906 Test: Manual through the test app Change-Id: I286f9ff199c34563b7b8643de725f8d1534ea06c
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerDriver.h b/media/libmediaplayerservice/nuplayer/NuPlayerDriver.h index 5bfc539..972a348 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayerDriver.h +++ b/media/libmediaplayerservice/nuplayer/NuPlayerDriver.h
@@ -87,6 +87,10 @@ void notifyListener(int msg, int ext1 = 0, int ext2 = 0, const Parcel *in = NULL); void notifyFlagsChanged(uint32_t flags); + // Modular DRM + virtual status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId); + virtual status_t releaseDrm(); + protected: virtual ~NuPlayerDriver();