diff options
author | Brandon Maxwell <maxwelb@google.com> | 2015-11-06 18:53:35 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-11-06 18:53:35 +0000 |
commit | c06667d70d0866ca4cf1ab1aa9816195c5e47576 (patch) | |
tree | ea1d0edf3a31861cdcd764ed24505956281a7870 | |
parent | 542a383fcf28de36b328849da47f7af1648e62ba (diff) | |
parent | a6a85acc8a8053e9e1ae61e0f06762fae10a28e2 (diff) |
Merge "Blocking number takes user back to blocked numbers list" into ub-contactsdialer-a-dev am: b031063587
am: a6a85acc8a
* commit 'a6a85acc8a8053e9e1ae61e0f06762fae10a28e2':
Blocking number takes user back to blocked numbers list
-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; } |