From c69934daa3ab9a43acfd51e0c89039d0ef414214 Mon Sep 17 00:00:00 2001 From: Ta-wei Yen Date: Tue, 27 Oct 2015 18:52:20 -0700 Subject: Fix adding a blocked number and return cause dialer to crash + BlockedListSearchFragment.onChangeFilteredNumberSuccess() calls activity.onBackPressed() instead of re-adding the management fragment. Bug:25330660 Change-Id: If3a4cd26a180cf08a0e28f0c4bd05e7fd6149c20 --- src/com/android/dialer/list/BlockedListSearchFragment.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/com/android/dialer/list/BlockedListSearchFragment.java b/src/com/android/dialer/list/BlockedListSearchFragment.java index 8fc6f7adb..6ff7dda3b 100644 --- a/src/com/android/dialer/list/BlockedListSearchFragment.java +++ b/src/com/android/dialer/list/BlockedListSearchFragment.java @@ -15,9 +15,6 @@ */ package com.android.dialer.list; -import android.content.ContentUris; -import android.content.ContentValues; -import android.net.Uri; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; @@ -31,7 +28,6 @@ import android.widget.EditText; import android.widget.Toast; import com.android.contacts.common.GeoUtil; -import com.android.contacts.common.dialog.IndeterminateProgressDialog; import com.android.contacts.common.list.ContactEntryListAdapter; import com.android.contacts.common.list.ContactListItemView; import com.android.dialer.R; @@ -187,8 +183,7 @@ public class BlockedListSearchFragment extends RegularSearchFragment if (activity == null) { return; } - - activity.showManagementUi(); + activity.onBackPressed(); } @Override -- cgit v1.2.3