SponsorBlock: Forgot another pesky null check...
This commit is contained in:
parent
4bfd2b0bd5
commit
983078168c
1 changed files with 1 additions and 1 deletions
|
@ -870,7 +870,7 @@ public class VideoPlayerImpl extends VideoPlayer
|
||||||
fragmentListener.onMoreOptionsLongClicked();
|
fragmentListener.onMoreOptionsLongClicked();
|
||||||
hideControls(0, 0);
|
hideControls(0, 0);
|
||||||
hideSystemUIIfNeeded();
|
hideSystemUIIfNeeded();
|
||||||
} else if (v.getId() == blockSponsorsButton.getId()) {
|
} else if (blockSponsorsButton != null && v.getId() == blockSponsorsButton.getId()) {
|
||||||
final MediaSourceTag currentMetadata = getCurrentMetadata();
|
final MediaSourceTag currentMetadata = getCurrentMetadata();
|
||||||
if (currentMetadata == null) {
|
if (currentMetadata == null) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue