Skip to content

Commit

Permalink
Merge pull request #3157 from dulmandakh/dulmandakh-patch-1
Browse files Browse the repository at this point in the history
expose setPropertyByteArray, setPropertyString
  • Loading branch information
ojw28 authored Aug 17, 2017
2 parents 2f8c31d + 65e212c commit cc5e16e
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,22 @@ public synchronized Pair<Long, Long> getLicenseDurationRemainingSec(byte[] offli
}
return licenseDurationRemainingSec;
}

public byte[] getPropertyByteArray(String key) {
return drmSessionManager.getPropertyByteArray(key);
}

public void setPropertyByteArray(String key, byte[] value) {
drmSessionManager.setPropertyByteArray(key, value);
}

public String getPropertyString(String key) {
return drmSessionManager.getPropertyString(key);
}

public void setPropertyString(String key, String value) {
drmSessionManager.setPropertyString(key, value);
}

private byte[] blockingKeyRequest(@Mode int licenseMode, byte[] offlineLicenseKeySetId,
DrmInitData drmInitData) throws DrmSessionException {
Expand Down

0 comments on commit cc5e16e

Please # to comment.