diff options
author | Andrew Lee <anwlee@google.com> | 2015-06-09 15:59:47 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-06-10 15:32:06 -0700 |
commit | 2f05af35af03de67c1c474cd148719b24fac3552 (patch) | |
tree | 8fca74e40392668e3a545cfdf94c5310835dc51d /tests | |
parent | a74ebca775f79f12354eaf335cb952ce246272fc (diff) |
Move "Report" to CallDetailActivity.
- Delete old report button/handling code.
+ Convert menu click listeners into single onMenuItemClick method.
+ Add and populate objectId on PhoneCallDetails, to be able to
tell from the CallDetailActivity whether to enable reporting.
Change-Id: Ie4b9a3c1835792cbba04dc826f71fd2e53071400
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/dialer/calllog/CallLogAdapterTest.java | 2 | ||||
-rw-r--r-- | tests/src/com/android/dialer/calllog/CallLogFragmentTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java b/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java index 14e0aaf9e..b4162e166 100644 --- a/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java +++ b/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java @@ -204,7 +204,7 @@ public class CallLogAdapterTest extends AndroidTestCase { private static final class TestCallLogAdapter extends CallLogAdapter { public TestCallLogAdapter(Context context, CallFetcher callFetcher, ContactInfoHelper contactInfoHelper) { - super(context, callFetcher, contactInfoHelper, null, false, null); + super(context, callFetcher, contactInfoHelper, null, false); mContactInfoCache = new TestContactInfoCache( contactInfoHelper, mOnContactInfoChangedListener); } diff --git a/tests/src/com/android/dialer/calllog/CallLogFragmentTest.java b/tests/src/com/android/dialer/calllog/CallLogFragmentTest.java index 3f66d5848..df6719c38 100644 --- a/tests/src/com/android/dialer/calllog/CallLogFragmentTest.java +++ b/tests/src/com/android/dialer/calllog/CallLogFragmentTest.java @@ -453,7 +453,7 @@ public class CallLogFragmentTest extends ActivityInstrumentationTestCase2<Fragme getInstrumentation().runOnMainSync(new Runnable() { @Override public void run() { - viewHolder.inflateActionViewStub(null); + viewHolder.inflateActionViewStub(); } }); getInstrumentation().waitForIdleSync(); |