diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index edd509b36b410..50972e822f17f 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -27,6 +27,7 @@ import android.content.pm.ResolveInfo; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Rect; +import android.media.RemoteControlClient; import android.net.Uri; import android.os.Bundle; import android.os.IBinder; @@ -2151,6 +2152,19 @@ public class Intent implements Parcelable, Cloneable { public static final String ACTION_USB_AUDIO_DEVICE_PLUG = "android.intent.action.USB_AUDIO_DEVICE_PLUG"; + /** + * @hide (to be un-hidden) + * Broadcast Action: the volume handled by the receiver should be updated based on the + * mutually exclusive extras, {@link #EXTRA_VOLUME_UPDATE_DIRECTION} + * and {@link #EXTRA_VOLUME_UPDATE_VALUE}. + * + * @see #EXTRA_VOLUME_UPDATE_DIRECTION + * @see #EXTRA_VOLUME_UPDATE_VALUE + * @see android.media.RemoteControlClient + */ + @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) + public static final String ACTION_VOLUME_UPDATE = "android.intent.action.VOLUME_UPDATE"; + /** *

Broadcast Action: The user has switched on advanced settings in the settings app:

*