From dbd25d58545afc965b93c6ffd7f6194a76265b25 Mon Sep 17 00:00:00 2001
From: Arnold Szabo
Date: Fri, 27 Jul 2018 13:41:02 +0300
Subject: [PATCH] #4304 - Adjustments after code review
---
.../java/com/google/android/exoplayer2/ui/PlayerView.java | 6 +++---
library/ui/src/main/res/values/attrs.xml | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java
index 03d879e903..f81aa20a4b 100644
--- a/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java
+++ b/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerView.java
@@ -666,13 +666,13 @@ public class PlayerView extends FrameLayout {
* Sets whether a buffering spinner is displayed when the player is in the buffering state. The
* buffering spinner is not displayed by default.
*
- * Deprecated, use {@link #setShowBuffering(int)}
+ * @deprecated Use {@link #setShowBuffering(int)}
*
* @param showBuffering Whether the buffering icon is displayed
*/
@Deprecated
public void setShowBuffering(boolean showBuffering) {
- setShowBuffering(showBuffering ? SHOW_BUFFERING_ALWAYS : SHOW_BUFFERING_NEVER);
+ setShowBuffering(showBuffering ? SHOW_BUFFERING_WHEN_PLAYING : SHOW_BUFFERING_NEVER);
}
/**
@@ -683,7 +683,7 @@ public class PlayerView extends FrameLayout {
* {@link #SHOW_BUFFERING_ALWAYS} displayed always when buffering
* {@link #SHOW_BUFFERING_NEVER} not displayed at all
* {@link #SHOW_BUFFERING_WHEN_PLAYING} displayed only when playing and buffering
- *
+ *
*
* @param showBuffering Buffering strategy that defines when the buffering icon is displayed
*/
diff --git a/library/ui/src/main/res/values/attrs.xml b/library/ui/src/main/res/values/attrs.xml
index 35ad304bd3..89f873edf7 100644
--- a/library/ui/src/main/res/values/attrs.xml
+++ b/library/ui/src/main/res/values/attrs.xml
@@ -52,9 +52,9 @@
-
-
-
+
+
+