commit | 6ba58c7dc8d63e1a6f803f9c2dd1990d80567c59 | [log] [tgz] |
---|---|---|
author | Puneet K Jain <puneet.k.jain@intel.com> | Thu Jun 06 12:39:57 2013 -0700 |
committer | guojing wu <guojingx.wu@intel.com> | Thu Apr 10 07:21:13 2014 +0000 |
tree | af79df2405265e9d7788d3c3b7a0f8a79766e7d0 | |
parent | 955ace240ff9881ef7d47605adbe6aae43014376 [diff] |
Move cursor to the right place when adding phonetic name When adding the phonetic name, the Editor fails to get the focus automatically. Change-Id: I6371508ea595b83e10a89c7a647452bd969a9d17 Signed-off-by: guojingx <guojingx.wu@intel.com>
diff --git a/src/com/android/contacts/editor/RawContactEditorView.java b/src/com/android/contacts/editor/RawContactEditorView.java index c9d3c33..c36725c 100644 --- a/src/com/android/contacts/editor/RawContactEditorView.java +++ b/src/com/android/contacts/editor/RawContactEditorView.java
@@ -497,6 +497,7 @@ if (DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME.equals(view.getKind().mimeType)) { mPhoneticNameAdded = true; updatePhoneticNameVisibility(); + mPhoneticName.requestFocus(); } else { view.addItem(); }