auto import from //depot/cupcake/@132589
diff --git a/src/com/android/browser/FindDialog.java b/src/com/android/browser/FindDialog.java
index 43cd1c4..44109ff 100644
--- a/src/com/android/browser/FindDialog.java
+++ b/src/com/android/browser/FindDialog.java
@@ -17,7 +17,6 @@
package com.android.browser;
import android.app.Dialog;
-import android.content.Context;
import android.content.res.Configuration;
import android.os.Bundle;
import android.os.Handler;
@@ -31,7 +30,6 @@
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
-import android.view.inputmethod.InputMethodManager;
import android.webkit.WebView;
import android.widget.EditText;
import android.widget.TextView;
@@ -68,19 +66,9 @@
throw new AssertionError("No WebView for FindDialog::onClick");
}
mWebView.findNext(false);
- hideSoftInput();
}
};
-
- /*
- * Remove the soft keyboard from the screen.
- */
- private void hideSoftInput() {
- InputMethodManager imm = (InputMethodManager)
- mBrowserActivity.getSystemService(Context.INPUT_METHOD_SERVICE);
- imm.hideSoftInputFromWindow(mEditText.getWindowToken(), 0);
- }
-
+
private void disableButtons() {
mPrevButton.setEnabled(false);
mNextButton.setEnabled(false);
@@ -169,9 +157,8 @@
throw new AssertionError("No WebView for FindDialog::findNext");
}
mWebView.findNext(true);
- hideSoftInput();
}
-
+
public void show() {
super.show();
mEditText.requestFocus();