summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/TabControl.java
diff options
context:
space:
mode:
authorBijan Amirzada <bijana@codeaurora.org>2014-05-06 14:18:54 -0700
committerWebTech Code Review <code-review@localhost>2014-05-14 14:06:55 -0700
commite75909d7f96ab75c64be108f48a9bcc0934ae070 (patch)
tree37e80713db92de7b004ab832fe7dd343c33cba4e /src/com/android/browser/TabControl.java
parentcc4bc5e7d0725fc7812da90bf48d6621aedc595a (diff)
downloadandroid_packages_apps_Gello-e75909d7f96ab75c64be108f48a9bcc0934ae070.tar.gz
android_packages_apps_Gello-e75909d7f96ab75c64be108f48a9bcc0934ae070.tar.bz2
android_packages_apps_Gello-e75909d7f96ab75c64be108f48a9bcc0934ae070.zip
Changes to conform to new overlay format
- Added new overlay resources and checks for new resource values - Removed all references to carrier specific lookups and converted them to overlay implementations instead. - Removed old resources from assets directory Change-Id: I5143b499ffb6f1e08d1f9c846eec94300de87561
Diffstat (limited to 'src/com/android/browser/TabControl.java')
-rw-r--r--src/com/android/browser/TabControl.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/com/android/browser/TabControl.java b/src/com/android/browser/TabControl.java
index e0c3286d..a9da8cf3 100644
--- a/src/com/android/browser/TabControl.java
+++ b/src/com/android/browser/TabControl.java
@@ -410,22 +410,6 @@ class TabControl {
// sNextId to be set correctly.
continue;
}
-
- // add for carrier homepage feature
- // If the webview restore successfully, add javascript interface again.
- WebView view = t.getWebView();
- if (view != null) {
- String browserRes = mController.getActivity().getApplicationContext()
- .getResources().getString(R.string.config_carrier_resource);
- if ("ct".equals(browserRes)) {
- view.getSettings().setJavaScriptEnabled(true);
- if (mController.getActivity() instanceof BrowserActivity) {
- view.addJavascriptInterface(mController.getActivity(),
- "default_homepage");
- }
- }
- }
-
tabMap.put(id, t);
// Me must set the current tab before restoring the state
// so that all the client classes are set.