diff options
| author | 2019-03-18 17:25:47 +0000 | |
|---|---|---|
| committer | 2019-03-18 17:25:47 +0000 | |
| commit | 8ed14e107b6999950393e33ba92e03c03d6ab847 (patch) | |
| tree | 7a8a58c559410094f54dff6817d6408f49fbc139 | |
| parent | ecfad0220bb514ea23e77288b7569422929444e2 (diff) | |
| parent | 79ed2c06dda71fdcf8b2bfb914686656bdf19289 (diff) | |
Merge "MediaDrm: remove @StringProperty/@ArrayProperty"
| -rw-r--r-- | media/java/android/media/MediaDrm.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/media/java/android/media/MediaDrm.java b/media/java/android/media/MediaDrm.java index 579ee8debae5..aeb77cfddbbd 100644 --- a/media/java/android/media/MediaDrm.java +++ b/media/java/android/media/MediaDrm.java @@ -1588,13 +1588,13 @@ public final class MediaDrm implements AutoCloseable { * {@link #PROPERTY_DESCRIPTION}, {@link #PROPERTY_ALGORITHMS} */ @NonNull - public native String getPropertyString(@NonNull @StringProperty String propertyName); + public native String getPropertyString(@NonNull String propertyName); /** * Set a MediaDrm String property value, given the property name string * and new value for the property. */ - public native void setPropertyString(@NonNull @StringProperty String propertyName, + public native void setPropertyString(@NonNull String propertyName, @NonNull String value); /** @@ -1616,14 +1616,14 @@ public final class MediaDrm implements AutoCloseable { * Standard fields names are {@link #PROPERTY_DEVICE_UNIQUE_ID} */ @NonNull - public native byte[] getPropertyByteArray(@ArrayProperty String propertyName); + public native byte[] getPropertyByteArray(String propertyName); /** * Set a MediaDrm byte array property value, given the property name string * and new value for the property. */ - public native void setPropertyByteArray(@NonNull @ArrayProperty - String propertyName, @NonNull byte[] value); + public native void setPropertyByteArray( + @NonNull String propertyName, @NonNull byte[] value); private static final native void setCipherAlgorithmNative( @NonNull MediaDrm drm, @NonNull byte[] sessionId, @NonNull String algorithm); |