diff options
author | Brandon Maxwell <maxwelb@google.com> | 2015-12-07 12:57:53 -0800 |
---|---|---|
committer | Brandon Maxwell <maxwelb@google.com> | 2015-12-07 14:43:16 -0800 |
commit | 736c6bde5a2d1d300b049ed4c9f75f9e1db1f6e3 (patch) | |
tree | 0c481db4529353b2a4847e7aa2bc7cf725dffbc4 | |
parent | 235134a4908425ec40df4c0e98436c7f67008a1c (diff) |
Changing BlockedNumbersAdapter to use Management container as parent
The blocked_number_fragment gets removed from the
BlockedNumbersSettingActivity when we change to the search view. Doing
so causes a crash when we attempt to show a Snackbar with that fragment
as the parent view. Instead we use the container for the Management
screen since it doesn't get removed.
Bug:26032803
Change-Id: I6b14447fa75eb2618f511799d4f947ab432611f9
-rw-r--r-- | src/com/android/dialer/filterednumber/BlockedNumbersAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/filterednumber/BlockedNumbersAdapter.java b/src/com/android/dialer/filterednumber/BlockedNumbersAdapter.java index e33b0f810..10a4f5abd 100644 --- a/src/com/android/dialer/filterednumber/BlockedNumbersAdapter.java +++ b/src/com/android/dialer/filterednumber/BlockedNumbersAdapter.java @@ -67,7 +67,7 @@ public class BlockedNumbersAdapter extends NumbersAdapter { number, countryIso, PhoneNumberUtils.formatNumber(number, countryIso), - R.id.blocked_number_fragment, + R.id.blocked_numbers_activity_container, getFragmentManager(), new BlockNumberDialogFragment.Callback() { @Override |