Reset pending contact creation/edition values when leaving contacts activity
This commit is contained in:
parent
9ecc10ba87
commit
ba4a0afb7a
1 changed files with 9 additions and 0 deletions
|
@ -102,6 +102,15 @@ public class ContactsActivity extends MainActivity {
|
|||
mContactsSelected.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onPause() {
|
||||
// From the moment this activity is leaved, clear these values
|
||||
mEditDisplayName = null;
|
||||
mEditSipUri = null;
|
||||
mEditOnClick = false;
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onSaveInstanceState(Bundle outState) {
|
||||
super.onSaveInstanceState(outState);
|
||||
|
|
Loading…
Reference in a new issue