Skip to content

Commit 8d19760

Browse files
author
Selim Gurun
committed
DO NOT MERGE remove defunct javascript interface
Bug: 7073422 The feature that is using search box implementation was removed from browser after Honeycomb. This is to remove the js interface that is added for this feature. Clean cherry pick of d773ca8 Change-Id: I033d29718d08803f375759faf83e2058df6d4906
1 parent ab1456a commit 8d19760

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/java/android/webkit/BrowserFrame.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ public BrowserFrame(Context context, WebViewCore w, CallbackProxy proxy,
245245
mWebViewCore = w;
246246

247247
mSearchBox = new SearchBoxImpl(mWebViewCore, mCallbackProxy);
248-
mJavaScriptObjects.put(SearchBoxImpl.JS_INTERFACE_NAME, mSearchBox);
249248

250249
AssetManager am = context.getAssets();
251250
nativeCreateFrame(w, am, proxy.getBackForwardList());
@@ -598,8 +597,6 @@ private void windowObjectCleared(int nativeFramePointer) {
598597
}
599598
}
600599
mRemovedJavaScriptObjects.clear();
601-
602-
stringByEvaluatingJavaScriptFromString(SearchBoxImpl.JS_BRIDGE);
603600
}
604601

605602
/**

0 commit comments

Comments
 (0)