summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/preferences
diff options
context:
space:
mode:
authorMichael Kolb <kolby@google.com>2011-10-05 10:52:20 -0700
committerMichael Kolb <kolby@google.com>2011-10-05 10:53:28 -0700
commita7dde6b22f08d141642514cca908f1080fd46477 (patch)
tree59f42eb939cbb25b5b646f0929c6507747aedc8c /src/com/android/browser/preferences
parent53ed62c0171fdbaecaccfbbb08cbf22cb08d39a5 (diff)
downloadpackages_apps_Browser-a7dde6b22f08d141642514cca908f1080fd46477.zip
packages_apps_Browser-a7dde6b22f08d141642514cca908f1080fd46477.tar.gz
packages_apps_Browser-a7dde6b22f08d141642514cca908f1080fd46477.tar.bz2
Show IME when editing homepage URL
Bug: 5209206 Change-Id: I30020b97692aca30c09a68e92144828619ef4d59
Diffstat (limited to 'src/com/android/browser/preferences')
-rw-r--r--src/com/android/browser/preferences/GeneralPreferencesFragment.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/browser/preferences/GeneralPreferencesFragment.java b/src/com/android/browser/preferences/GeneralPreferencesFragment.java
index 05aa1a7..c018474 100644
--- a/src/com/android/browser/preferences/GeneralPreferencesFragment.java
+++ b/src/com/android/browser/preferences/GeneralPreferencesFragment.java
@@ -29,6 +29,7 @@ import android.text.InputType;
import android.text.TextUtils;
import android.util.Log;
import android.view.KeyEvent;
+import android.view.WindowManager;
import android.view.inputmethod.EditorInfo;
import android.widget.EditText;
import android.widget.TextView;
@@ -152,6 +153,8 @@ public class GeneralPreferencesFragment extends PreferenceFragment
return false;
}
});
+ dialog.getWindow().setSoftInputMode(
+ WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
dialog.show();
}