Merge "Add Getter for App ID"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2ebfce52ef
@@ -492,6 +492,8 @@ status_t WVDrmPlugin::getPropertyString(const String8& name,
|
||||
return queryProperty(QUERY_KEY_NUMBER_OF_OPEN_SESSIONS, value);
|
||||
} else if (name == "maxNumberOfSessions") {
|
||||
return queryProperty(QUERY_KEY_MAX_NUMBER_OF_SESSIONS, value);
|
||||
} else if (name == "appId") {
|
||||
value = mPropertySet.app_id().c_str();
|
||||
} else {
|
||||
ALOGE("App requested unknown string property %s", name.string());
|
||||
return android::ERROR_DRM_CANNOT_HANDLE;
|
||||
|
||||
Reference in New Issue
Block a user