Adding app package name to license request.
[ Merge of http://go/wvgerrit/94323 ] Content providers wish to know the application package name that is requesting a license from the content server. The app package name that is provided to the CDM during initialization is provided to the client identification message as a key-value pair during license request generation. App packages names are keyed under 'application_name'. This feature was tested manually by scraping the content of the license request for YouTube TV. Bug: 148689078 Test: manual Change-Id: I6b65f2ab9845dbea37aaaab76ecea25c228bde5b
This commit is contained in:
@@ -425,6 +425,8 @@ struct WVDrmPlugin : public IDrmPlugin, IDrmPluginListener,
|
||||
|
||||
wvcdm::CdmSessionId mDecryptHashSessionId;
|
||||
|
||||
std::string mAppPackageName;
|
||||
|
||||
Status queryProperty(const std::string& property,
|
||||
std::string& stringValue) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user