diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/dialer/filterednumber/FilterNumberDialogFragment.java | 8 | ||||
-rw-r--r-- | src/com/android/dialer/list/BlockedListSearchAdapter.java | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/com/android/dialer/filterednumber/FilterNumberDialogFragment.java b/src/com/android/dialer/filterednumber/FilterNumberDialogFragment.java index 1b953875c..476fee49b 100644 --- a/src/com/android/dialer/filterednumber/FilterNumberDialogFragment.java +++ b/src/com/android/dialer/filterednumber/FilterNumberDialogFragment.java @@ -123,6 +123,12 @@ public class FilterNumberDialogFragment extends DialogFragment { return builder.create(); } + @Override + public void onDestroy() { + this.dismissAllowingStateLoss(); + super.onDestroy(); + } + private String getBlockedMessage(String displayNumber) { return getString(R.string.snackbar_number_blocked, displayNumber); } @@ -194,4 +200,4 @@ public class FilterNumberDialogFragment extends DialogFragment { } }, getArguments().getInt(ARG_BLOCK_ID)); } -}
\ No newline at end of file +} diff --git a/src/com/android/dialer/list/BlockedListSearchAdapter.java b/src/com/android/dialer/list/BlockedListSearchAdapter.java index 7ae24e468..dbfbc8b40 100644 --- a/src/com/android/dialer/list/BlockedListSearchAdapter.java +++ b/src/com/android/dialer/list/BlockedListSearchAdapter.java @@ -86,4 +86,4 @@ public class BlockedListSearchAdapter extends RegularSearchListAdapter { mFilteredNumberAsyncQueryHandler.startBlockedQuery( onCheckListener, normalizedNumber, number, countryIso); } -}
\ No newline at end of file +} |