diff options
author | Ta-wei Yen <twyen@google.com> | 2015-10-27 18:52:20 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-10-30 17:49:44 -0700 |
commit | 9a896fa82f929e3675f72658f6babf12af6cd58c (patch) | |
tree | fc3c1dfabb51abdeaf1098b10c3528c32452c64d | |
parent | 0af3d293e14fe665733076877d7bd7ad6851a091 (diff) |
Fix adding a blocked number and return cause dialer to crash
+ BlockedListSearchFragment.onChangeFilteredNumberSuccess() calls
activity.onBackPressed() instead of re-adding the management fragment.
Original fix was lost due to a bad merge.
Bug:25330660
Change-Id: Ib6d04dba55832845d145d2925cfb595237e7a19f
-rw-r--r-- | src/com/android/dialer/list/BlockedListSearchFragment.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/dialer/list/BlockedListSearchFragment.java b/src/com/android/dialer/list/BlockedListSearchFragment.java index 24945b9f9..cfb84f385 100644 --- a/src/com/android/dialer/list/BlockedListSearchFragment.java +++ b/src/com/android/dialer/list/BlockedListSearchFragment.java @@ -203,8 +203,7 @@ public class BlockedListSearchFragment extends RegularSearchFragment if (activity == null) { return; } - - activity.showManagementUi(); + activity.onBackPressed(); } @Override |