mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-18 10:23:56 +00:00
cast fix
This commit is contained in:
@@ -1965,7 +1965,7 @@ class ExoplayerView : AppCompatActivity(), Player.Listener, SessionAvailabilityL
|
||||
}
|
||||
|
||||
override fun onCastSessionAvailable() {
|
||||
if (isCastApiAvailable) {
|
||||
if (isCastApiAvailable && !this.isDestroyed) {
|
||||
startCastPlayer()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user