diff --git a/demos/main/src/main/assets/media.exolist.json b/demos/main/src/main/assets/media.exolist.json index ce1528c19d..ac7b5ce749 100644 --- a/demos/main/src/main/assets/media.exolist.json +++ b/demos/main/src/main/assets/media.exolist.json @@ -631,23 +631,6 @@ } ] }, - { - "name": "Thumbnails", - "samples": [ - { - "name": "Single adaptation set, 7 tiles at 10x1, each thumb 320x180", - "uri": "https://dash.akamaized.net/akamai/bbb_30fps/bbb_with_tiled_thumbnails.mpd" - }, - { - "name": "Single adaptation set, SegmentTemplate with SegmentTimeline", - "uri": "https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel-tiled-thumbnails-timeline.ism/.mpd" - }, - { - "name": "Single adaptation set, SegmentTemplate with SegmentNumber", - "uri": "https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel-tiled-thumbnails-numbered.ism/.mpd" - } - ] - }, { "name": "Misc", "samples": [ diff --git a/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java b/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java index ae01315f12..8932b0780d 100644 --- a/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java +++ b/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java @@ -116,6 +116,7 @@ public class PlayerActivity extends AppCompatActivity playerView.setControllerVisibilityListener(this); playerView.setErrorMessageProvider(new PlayerErrorMessageProvider()); playerView.requestFocus(); + if (savedInstanceState != null) { trackSelectionParameters = TrackSelectionParameters.fromBundle( @@ -281,7 +282,6 @@ public class PlayerActivity extends AppCompatActivity player.setPlayWhenReady(startAutoPlay); playerView.setPlayer(player); configurePlayerWithServerSideAdsLoader(); - debugViewHelper = new DebugTextViewHelper(player, debugTextView); debugViewHelper.start(); }