refactor find state and scrolling
Explicitly call webkit to note when find dialog is visible,
to dismiss the find dialog and clear to matches.
Companion fix in frameworks/base and external/webkit
http://b/2370069
diff --git a/src/com/android/browser/FindDialog.java b/src/com/android/browser/FindDialog.java
index e8d2417..45c8016 100644
--- a/src/com/android/browser/FindDialog.java
+++ b/src/com/android/browser/FindDialog.java
@@ -129,7 +129,7 @@
public void dismiss() {
super.dismiss();
mBrowserActivity.closeFind();
- mWebView.clearMatches();
+ mWebView.notifyFindDialogDismissed();
}
@Override