diff --git a/.gitignore b/.gitignore index 531c98d..d723b47 100644 --- a/.gitignore +++ b/.gitignore @@ -449,3 +449,5 @@ FodyWeavers.xsd *.tlog # End of https://www.toptal.com/developers/gitignore/api/visualstudio,rider + +.DS_Store diff --git a/Xamarin.ExoPlayerSlim.UsageChecker/Xamarin.ExoPlayerSlim.UsageChecker.csproj b/Xamarin.ExoPlayerSlim.UsageChecker/Xamarin.ExoPlayerSlim.UsageChecker.csproj index 36dd668..6371f0a 100644 --- a/Xamarin.ExoPlayerSlim.UsageChecker/Xamarin.ExoPlayerSlim.UsageChecker.csproj +++ b/Xamarin.ExoPlayerSlim.UsageChecker/Xamarin.ExoPlayerSlim.UsageChecker.csproj @@ -112,7 +112,7 @@ - 2.16.1.11 + 2.16.1.12 diff --git a/Xamarin.ExoPlayerSlim/Xamarin.ExoPlayerSlim.csproj b/Xamarin.ExoPlayerSlim/Xamarin.ExoPlayerSlim.csproj index 2e60427..0bcfce9 100644 --- a/Xamarin.ExoPlayerSlim/Xamarin.ExoPlayerSlim.csproj +++ b/Xamarin.ExoPlayerSlim/Xamarin.ExoPlayerSlim.csproj @@ -3,7 +3,7 @@ true Xamarin.ExoPlayerSlim - 2.16.1.11 + 2.16.1.12 Contains bindings for https://exoplayer.dev Christian Kapplmüller fun.music IT GmbH diff --git a/java/ExoPlayerSlim/exoplayerslim/src/main/java/com/tonestro/exoplayerslim/ExoPlayerSlimImpl.java b/java/ExoPlayerSlim/exoplayerslim/src/main/java/com/tonestro/exoplayerslim/ExoPlayerSlimImpl.java index ce2a1dd..3b25b11 100644 --- a/java/ExoPlayerSlim/exoplayerslim/src/main/java/com/tonestro/exoplayerslim/ExoPlayerSlimImpl.java +++ b/java/ExoPlayerSlim/exoplayerslim/src/main/java/com/tonestro/exoplayerslim/ExoPlayerSlimImpl.java @@ -123,7 +123,7 @@ public void attachPlayerView(View playerView, boolean useNativeControls, int asp @Override public void detachPlayerView(View playerView) { if (playerView == null) { - throw new NullPointerException("playerView must not be null"); + return; } if (!(playerView instanceof PlayerView)) { throw new ClassCastException("playerView is not instance of PlayerView");