Clean up changes from attaching title bar to top of WebView
Renamed addTitleBar to setEmbeddedTitleBar. Requires a
change to frameworks/base
Change-Id: I0ea3c969dbd8c365a9f71eb373b11ddb0aa30b9b
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java
index 3706167..d7c53b0 100644
--- a/src/com/android/browser/BrowserActivity.java
+++ b/src/com/android/browser/BrowserActivity.java
@@ -1623,7 +1623,7 @@
}
WebView view = t.getWebView();
- view.addTitleBar(mTitleBar);
+ view.setEmbeddedTitleBar(mTitleBar);
// Attach the sub window if necessary
attachSubWindow(t);
// Request focus on the top window.
@@ -1651,7 +1651,7 @@
}
WebView view = t.getWebView();
- view.addTitleBar(null);
+ view.setEmbeddedTitleBar(null);
// Remove the sub window if it exists.
if (t.getSubWebView() != null) {