From 21b07ba4db116aaafce137a5782670aaeb80f684 Mon Sep 17 00:00:00 2001 From: olly Date: Wed, 24 Jun 2020 17:21:48 +0100 Subject: [PATCH] Fix broken @value Javadoc PiperOrigin-RevId: 318077821 --- .../com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java | 2 +- .../com/google/android/exoplayer2/audio/AuxEffectInfo.java | 2 +- .../java/com/google/android/exoplayer2/util/GlUtil.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java b/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java index 9cfd98fa0f..1fc30ba9a6 100644 --- a/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java +++ b/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.java @@ -177,7 +177,7 @@ public final class ImaAdsLoader implements Player.EventListener, AdsLoader { * Sets the duration in milliseconds for which the player must buffer while preloading an ad * group before that ad group is skipped and marked as having failed to load. Pass {@link * C#TIME_UNSET} if there should be no such timeout. The default value is {@value - * DEFAULT_AD_PRELOAD_TIMEOUT_MS} ms. + * #DEFAULT_AD_PRELOAD_TIMEOUT_MS} ms. * *

The purpose of this timeout is to avoid playback getting stuck in the unexpected case that * the IMA SDK does not load an ad break based on the player's reported content position. diff --git a/library/core/src/main/java/com/google/android/exoplayer2/audio/AuxEffectInfo.java b/library/core/src/main/java/com/google/android/exoplayer2/audio/AuxEffectInfo.java index 968d8acebd..f3ea686210 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/audio/AuxEffectInfo.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/audio/AuxEffectInfo.java @@ -50,7 +50,7 @@ public final class AuxEffectInfo { * Creates an instance with the given effect identifier and send level. * * @param effectId The effect identifier. This is the value returned by {@link - * AudioEffect#getId()} on the effect, or {@value NO_AUX_EFFECT_ID} which represents no + * AudioEffect#getId()} on the effect, or {@value #NO_AUX_EFFECT_ID} which represents no * effect. This value is passed to {@link AudioTrack#attachAuxEffect(int)} on the underlying * audio track. * @param sendLevel The send level for the effect, where 0 represents no effect and a value of 1 diff --git a/library/core/src/main/java/com/google/android/exoplayer2/util/GlUtil.java b/library/core/src/main/java/com/google/android/exoplayer2/util/GlUtil.java index e90d133334..f38fd61caf 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/util/GlUtil.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/util/GlUtil.java @@ -204,8 +204,8 @@ public final class GlUtil { private GlUtil() {} /** - * Returns whether creating a GL context with {@value EXTENSION_PROTECTED_CONTENT} is possible. If - * {@code true}, the device supports a protected output path for DRM content when using GL. + * Returns whether creating a GL context with {@value #EXTENSION_PROTECTED_CONTENT} is possible. + * If {@code true}, the device supports a protected output path for DRM content when using GL. */ public static boolean isProtectedContentExtensionSupported(Context context) { if (Util.SDK_INT < 24) { @@ -232,7 +232,7 @@ public final class GlUtil { } /** - * Returns whether creating a GL context with {@value EXTENSION_SURFACELESS_CONTEXT} is possible. + * Returns whether creating a GL context with {@value #EXTENSION_SURFACELESS_CONTEXT} is possible. */ public static boolean isSurfacelessContextExtensionSupported() { if (Util.SDK_INT < 17) {