diff --git a/media/java/android/media/AudioMetadata.java b/media/java/android/media/AudioMetadata.java index e67ba5905aaef..1a9517cafdde0 100644 --- a/media/java/android/media/AudioMetadata.java +++ b/media/java/android/media/AudioMetadata.java @@ -41,43 +41,47 @@ public final class AudioMetadata { private static final String TAG = "AudioMetadata"; /** - * Key interface for the map. + * Key interface for the {@code AudioMetadata} map. * - * The presence of this {@code Key} interface on an object allows - * it to be used to reference metadata in the Audio Framework. + *
The presence of this {@code Key} interface on an object allows + * it to reference metadata in the Audio Framework.
+ * + *Vendors are allowed to implement this {@code Key} interface for their debugging or + * private application use. To avoid name conflicts, vendor key names should be qualified by + * the vendor company name followed by a dot; for example, "vendorCompany.someVolume".
* * @paramUsing a {@link Key} interface, the map looks up the corresponding value.
*/ public interface ReadMap { /** @@ -301,12 +305,6 @@ public final class AudioMetadata { return mType; } - // hidden interface method to prevent user class implements the of Key interface. - @Override - public boolean isFromFramework() { - return true; - } - /** * Return true if the name and the type of two objects are the same. */