diff options
author | Brandon Maxwell <maxwelb@google.com> | 2015-11-06 18:44:23 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-11-06 18:44:23 +0000 |
commit | b031063587512b48a06ccab06934cecf6e0faec3 (patch) | |
tree | 86c629a6056d00a13df228e37c07a066d1f9bcc0 | |
parent | b521d90ac327a24c332d2006666cab530029cf0d (diff) | |
parent | 9c09db6afdf47a7e5564ea945e80728f442661be (diff) |
Merge "Blocking number takes user back to blocked numbers list" into ub-contactsdialer-a-dev
-rw-r--r-- | src/com/android/dialer/list/BlockedListSearchFragment.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/dialer/list/BlockedListSearchFragment.java b/src/com/android/dialer/list/BlockedListSearchFragment.java index 08a9c49ce..94036ae81 100644 --- a/src/com/android/dialer/list/BlockedListSearchFragment.java +++ b/src/com/android/dialer/list/BlockedListSearchFragment.java @@ -15,6 +15,7 @@ */ package com.android.dialer.list; +import android.app.Activity; import android.os.Bundle; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; @@ -182,7 +183,7 @@ public class BlockedListSearchFragment extends RegularSearchFragment number, R.id.blocked_numbers_activity_container, getFragmentManager(), - null /* callback */); + BlockedListSearchFragment.this); } else { Toast.makeText(getContext(), getString(R.string.alreadyBlocked, number), Toast.LENGTH_SHORT).show(); @@ -199,7 +200,7 @@ public class BlockedListSearchFragment extends RegularSearchFragment @Override public void onChangeFilteredNumberSuccess() { - BlockedNumbersSettingsActivity activity = (BlockedNumbersSettingsActivity) getActivity(); + Activity activity = getActivity(); if (activity == null) { return; } |