mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Bug 839359 - Crash -- java.lang.NullPointerException, r=kats
This commit is contained in:
parent
ed46464631
commit
1036e41c96
@ -523,7 +523,7 @@ abstract public class GeckoApp
|
||||
@Override
|
||||
public boolean onMenuOpened(int featureId, Menu menu) {
|
||||
// exit full-screen mode whenever the menu is opened
|
||||
if (mLayerView.isFullScreen()) {
|
||||
if (mLayerView != null && mLayerView.isFullScreen()) {
|
||||
GeckoAppShell.sendEventToGecko(GeckoEvent.createBroadcastEvent("FullScreen:Exit", null));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user