Merge "Fix StringDef usage in MediaDrm API" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-06 17:50:18 +00:00
committed by Android (Google) Code Review

View File

@@ -1021,13 +1021,13 @@ public final class MediaDrm {
* Set a DRM engine plugin String property value.
*/
public native void setPropertyString(
@StringProperty String propertyName, @NonNull String value);
String propertyName, @NonNull String value);
/**
* Set a DRM engine plugin byte array property value.
*/
public native void setPropertyByteArray(
@ArrayProperty String propertyName, @NonNull byte[] value);
String propertyName, @NonNull byte[] value);
private static final native void setCipherAlgorithmNative(
@NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm);