Replaced Webview with TextView in Accessbility Settings
Removed the webview used for the font preview and replaced
it with a textview. Removes the overhead of using webview
for just a small preview in settings.
Change-Id: I6eb7f3dd67756b220e8f7ff33eab5cc7429d3f36
diff --git a/src/com/android/browser/BrowserSettings.java b/src/com/android/browser/BrowserSettings.java
index b11e0c6..74765d5 100644
--- a/src/com/android/browser/BrowserSettings.java
+++ b/src/com/android/browser/BrowserSettings.java
@@ -529,6 +529,13 @@
}
}
+ public WebView getTopWebView(){
+ if (mController!= null)
+ return mController.getCurrentTopWebView();
+
+ return null;
+ }
+
public void clearPasswords() {
// Clear password store maintained by SWE engine
WebSettings settings = null;