Do not show the title bar if the Activity is paused.

Fix http://b/issue?id=2121363

We attempt to show the fake title bar as a result of
a callback.  It is possible that we receive this callback
while the BrowserActivity is not running (not sure how
to reproduce, exactly, but the monkey did it; see the
bug).  Before showing the title bar, do a check to see
if the BrowserActivity is currently paused, and only
show it if not.

Change-Id: I770a1f86ae50f936f45bbf1dc2f047049b8e1aa3
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 0cecd85..896660b 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -935,7 +935,8 @@
     }
 
     private void showFakeTitleBar() {
-        if (mFakeTitleBar == null || mActiveTabsPage != null) {
+        if (mFakeTitleBar == null && mActiveTabsPage == null
+                && !mActivityInPause) {
             final WebView webView = getTopWindow();
             mFakeTitleBar = new TitleBar(this);
             mFakeTitleBar.setTitleAndUrl(null, webView.getUrl());