diff --git a/app/src/main/java/org/schabi/newpipe/views/FocusOverlayView.java b/app/src/main/java/org/schabi/newpipe/views/FocusOverlayView.java index 3d9dbc16a..bd5ae10e8 100644 --- a/app/src/main/java/org/schabi/newpipe/views/FocusOverlayView.java +++ b/app/src/main/java/org/schabi/newpipe/views/FocusOverlayView.java @@ -105,7 +105,7 @@ public final class FocusOverlayView extends Drawable implements } } - private boolean isShown(final View view) { + private boolean isShown(@NonNull final View view) { return view.getWidth() != 0 && view.getHeight() != 0 && view.isShown(); }