diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-05-08 15:18:17 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-05-08 15:18:17 +0000 |
commit | d85ce883f41f826861eb867224b37d711ca5da2a (patch) | |
tree | f42f72060a47076e59f6d9164d0b57a3ca662218 /app/src/main/java | |
parent | a91556ca71a02ee1a45b0bb786247520eb6554a2 (diff) | |
download | infinity-for-reddit-d85ce883f41f826861eb867224b37d711ca5da2a.tar infinity-for-reddit-d85ce883f41f826861eb867224b37d711ca5da2a.tar.gz infinity-for-reddit-d85ce883f41f826861eb867224b37d711ca5da2a.tar.bz2 infinity-for-reddit-d85ce883f41f826861eb867224b37d711ca5da2a.tar.lz infinity-for-reddit-d85ce883f41f826861eb867224b37d711ca5da2a.tar.xz infinity-for-reddit-d85ce883f41f826861eb867224b37d711ca5da2a.tar.zst infinity-for-reddit-d85ce883f41f826861eb867224b37d711ca5da2a.zip |
Upgrade dependencies and compileSdk.
Diffstat (limited to 'app/src/main/java')
6 files changed, 5 insertions, 10 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/PostVideoActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/PostVideoActivity.java index 5c1cef68..3eb2fc42 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/PostVideoActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/PostVideoActivity.java @@ -664,7 +664,7 @@ public class PostVideoActivity extends BaseActivity implements FlairBottomSheetF EventBus.getDefault().unregister(this); super.onDestroy(); player.seekToDefaultPosition(); - player.stop(true); + player.stop(); player.release(); } diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java index d20f57f8..b996bfb5 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewVideoActivity.java @@ -836,7 +836,7 @@ public class ViewVideoActivity extends AppCompatActivity implements CustomFontRe protected void onDestroy() { super.onDestroy(); player.seekToDefaultPosition(); - player.stop(true); + player.stop(); player.release(); } diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewImgurVideoFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewImgurVideoFragment.java index 08efb5e0..ea805b36 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewImgurVideoFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewImgurVideoFragment.java @@ -338,7 +338,7 @@ public class ViewImgurVideoFragment extends Fragment { public void onDestroy() { super.onDestroy(); player.seekToDefaultPosition(); - player.stop(true); + player.stop(); player.release(); } diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryVideoFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryVideoFragment.java index 8d6a00dc..39969c6e 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryVideoFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryVideoFragment.java @@ -342,7 +342,7 @@ public class ViewRedditGalleryVideoFragment extends Fragment { public void onDestroy() { super.onDestroy(); player.seekToDefaultPosition(); - player.stop(true); + player.stop(); player.release(); } diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/videoautoplay/DefaultExoCreator.java b/app/src/main/java/ml/docilealligator/infinityforreddit/videoautoplay/DefaultExoCreator.java index ddf321fd..89ebe5eb 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/videoautoplay/DefaultExoCreator.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/videoautoplay/DefaultExoCreator.java @@ -69,7 +69,7 @@ public class DefaultExoCreator implements ExoCreator, MediaSourceEventListener { public DefaultExoCreator(@NonNull ToroExo toro, @NonNull Config config) { this.toro = checkNotNull(toro); this.config = checkNotNull(config); - trackSelector = new DefaultTrackSelector(); + trackSelector = new DefaultTrackSelector(toro.context); loadControl = config.loadControl; mediaSourceBuilder = config.mediaSourceBuilder; diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/videoautoplay/Playable.java b/app/src/main/java/ml/docilealligator/infinityforreddit/videoautoplay/Playable.java index fb9e177e..d6583fc5 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/videoautoplay/Playable.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/videoautoplay/Playable.java @@ -278,11 +278,6 @@ public interface Playable { } @Override - public void onSeekProcessed() { - - } - - @Override public void onVideoSizeChanged(@NonNull VideoSize videoSize) { EventListener.super.onVideoSizeChanged(videoSize); } |