From 0449ad2bc1a25f5eb31fc0f375ff79384cfd5ba3 Mon Sep 17 00:00:00 2001 From: Margaret Leibovic Date: Sat, 28 Apr 2012 15:46:03 -0400 Subject: [PATCH] Bug 749582 - Fennec doesn't start in landscape mode. r=mfinkle --- mobile/android/base/GeckoApp.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java index 53d13025668..2586a9ca203 100644 --- a/mobile/android/base/GeckoApp.java +++ b/mobile/android/base/GeckoApp.java @@ -2080,7 +2080,8 @@ abstract public class GeckoApp if (mOrientation != newConfig.orientation) { mOrientation = newConfig.orientation; - mFormAssistPopup.hide(); + if (mFormAssistPopup != null) + mFormAssistPopup.hide(); refreshActionBar(); } }