File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/player/ui Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616import static org .schabi .newpipe .player .helper .PlayerHelper .nextResizeModeAndSaveToPrefs ;
1717import static org .schabi .newpipe .player .helper .PlayerHelper .retrieveSeekDurationFromPreferences ;
1818
19+ import android .annotation .SuppressLint ;
1920import android .content .Intent ;
2021import android .content .res .Resources ;
2122import android .graphics .Bitmap ;
@@ -761,7 +762,7 @@ public boolean isFullscreen() {
761762 }
762763
763764 /**
764- * Update the play/pause button ({@link R.id.playPauseButton} ) to reflect the action
765+ * Update the play/pause button (` R.id.playPauseButton` ) to reflect the action
765766 * that will be performed when the button is clicked..
766767 * @param action the action that is performed when the play/pause button is clicked
767768 */
@@ -947,6 +948,8 @@ public void onShuffleClicked() {
947948 player .toggleShuffleModeEnabled ();
948949 }
949950
951+ // TODO: don’t reference internal exoplayer2 resources
952+ @ SuppressLint ("PrivateResource" )
950953 @ Override
951954 public void onRepeatModeChanged (@ RepeatMode final int repeatMode ) {
952955 super .onRepeatModeChanged (repeatMode );
You can’t perform that action at this time.
0 commit comments