diff options
author | Jeff Tinker <jtinker@google.com> | 2013-04-02 13:08:05 -0700 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2013-04-03 12:20:53 -0700 |
commit | c0d5f1f8405de861ed6f1725f26cd6601e7103ab (patch) | |
tree | 710d03a7ee6541642c1dc16ac82b4ffea3903968 /include/media/IDrm.h | |
parent | 4c63a239c404af1e055e5f9939939ab0fd09d98a (diff) | |
download | frameworks_av-c0d5f1f8405de861ed6f1725f26cd6601e7103ab.zip frameworks_av-c0d5f1f8405de861ed6f1725f26cd6601e7103ab.tar.gz frameworks_av-c0d5f1f8405de861ed6f1725f26cd6601e7103ab.tar.bz2 |
Implement async event callout from drm plugin to Java app
Change-Id: I007f147d693664e777b8758be2bb8a4c7ec0236b
Diffstat (limited to 'include/media/IDrm.h')
-rw-r--r-- | include/media/IDrm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/IDrm.h b/include/media/IDrm.h index 15d0a75..d630c40 100644 --- a/include/media/IDrm.h +++ b/include/media/IDrm.h @@ -17,6 +17,7 @@ #include <binder/IInterface.h> #include <media/stagefright/foundation/ABase.h> #include <media/drm/DrmAPI.h> +#include <media/IDrmClient.h> #ifndef ANDROID_IDRM_H_ @@ -106,6 +107,8 @@ struct IDrm : public IInterface { Vector<uint8_t> const &signature, bool &match) = 0; + virtual status_t setListener(const sp<IDrmClient>& listener) = 0; + private: DISALLOW_EVIL_CONSTRUCTORS(IDrm); }; |