Fix broken @value Javadoc

PiperOrigin-RevId: 318077821
This commit is contained in:
olly 2020-06-24 17:21:48 +01:00 committed by Christos Tsilopoulos
parent 35cd367c4c
commit 21b07ba4db
3 changed files with 5 additions and 5 deletions

View file

@ -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.
*
* <p>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.

View file

@ -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

View file

@ -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) {