Merge change 24961 into eclair
* changes:
When opening in a new tab in the background, restore the old tab position.
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 66a0d43..31675db 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -1808,7 +1808,9 @@
}
WebView view = t.getWebView();
- view.setEmbeddedTitleBar(null);
+ if (view != null) {
+ view.setEmbeddedTitleBar(null);
+ }
// Remove the sub window if it exists.
if (t.getSubWebView() != null) {