diff options
Diffstat (limited to 'tests/src/com')
-rw-r--r-- | tests/src/com/android/dialer/calllog/BlockReportSpamListenerTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/com/android/dialer/calllog/BlockReportSpamListenerTest.java b/tests/src/com/android/dialer/calllog/BlockReportSpamListenerTest.java index f505818e9..c63027d6b 100644 --- a/tests/src/com/android/dialer/calllog/BlockReportSpamListenerTest.java +++ b/tests/src/com/android/dialer/calllog/BlockReportSpamListenerTest.java @@ -1,5 +1,6 @@ package com.android.dialer.calllog; +import android.app.Activity; import android.support.v7.widget.RecyclerView; import android.test.ActivityInstrumentationTestCase2; @@ -37,7 +38,8 @@ public class BlockReportSpamListenerTest extends ActivityInstrumentationTestCase MockitoAnnotations.initMocks(this); - blockReportSpamListener = new BlockReportSpamListener(getActivity(), adapter, + blockReportSpamListener = new BlockReportSpamListener( + ((Activity) getActivity()).getFragmentManager(), adapter, extendedCallInfoService, filteredNumberAsyncQueryHandler); } |