Loading src/com/android/contacts/activities/ContactEditorBaseActivity.java +10 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import android.os.Bundle; import android.provider.ContactsContract.Contacts; import android.provider.ContactsContract.RawContacts; import android.util.Log; import android.view.inputmethod.InputMethodManager; import java.util.ArrayList; Loading Loading @@ -224,6 +225,15 @@ abstract public class ContactEditorBaseActivity extends ContactsActivity } } @Override protected void onPause() { super.onPause(); InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); if (imm != null) { imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0); } } @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); Loading Loading
src/com/android/contacts/activities/ContactEditorBaseActivity.java +10 −0 Original line number Diff line number Diff line Loading @@ -38,6 +38,7 @@ import android.os.Bundle; import android.provider.ContactsContract.Contacts; import android.provider.ContactsContract.RawContacts; import android.util.Log; import android.view.inputmethod.InputMethodManager; import java.util.ArrayList; Loading Loading @@ -224,6 +225,15 @@ abstract public class ContactEditorBaseActivity extends ContactsActivity } } @Override protected void onPause() { super.onPause(); InputMethodManager imm = (InputMethodManager) getSystemService(INPUT_METHOD_SERVICE); if (imm != null) { imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0); } } @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); Loading