sonyericssondev/DrmLicenseService — Issue #1: Regarding ProcessMeteringData.java
Author: YangGak
Created: 2012-01-26 06:44:26+00:00
State: open

Dear all,

I've found wrong functions in ProcessMeteringData.java.
In case of ProcessMeteringDataJob class, it seems that CertResponse method need to be changed to MeterDataResponse().

Regards,
Gak.

=============================================================
public class ProcessMeteringDataJob extends StackableJob {
...
private DrmInfoRequest createRequestToProcessMeterCertResponse(String mimeType, String data) {
DrmInfoRequest request = new DrmInfoRequest(DrmInfoRequest.TYPE_RIGHTS_ACQUISITION_INFO,
mimeType);
request.put(Constants.DRM_ACTION, Constants.DRM_ACTION_PROCESS_METER_CERT_RESPONSE);
request.put(Constants.DRM_DATA, data);
return request;
}
...
=============================================================