diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java index 0bcaee6aafc5..297bffbc33f1 100644 --- a/mobile/android/base/GeckoApp.java +++ b/mobile/android/base/GeckoApp.java @@ -2335,7 +2335,7 @@ abstract public class GeckoApp return; } - if (mLayerView.isFullScreen()) { + if (mLayerView != null && mLayerView.isFullScreen()) { GeckoAppShell.sendEventToGecko(GeckoEvent.createBroadcastEvent("FullScreen:Exit", null)); return; }