summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-04-06 16:32:06 -0700
committerAndrew Lee <anwlee@google.com>2015-04-06 16:47:36 -0700
commitc6fde8d1b9a4e586ca65b82e9911089a9da14508 (patch)
tree39359b89dc0980fe551ae3134aca74c470285e48 /tests
parent2370e85a8203b4dc3722f2e013124e1e88d15b7c (diff)
downloadandroid_packages_apps_Dialer-c6fde8d1b9a4e586ca65b82e9911089a9da14508.tar.gz
android_packages_apps_Dialer-c6fde8d1b9a4e586ca65b82e9911089a9da14508.tar.bz2
android_packages_apps_Dialer-c6fde8d1b9a4e586ca65b82e9911089a9da14508.zip
Remove expand/collapse animations in the Call Log.
- Remove animation logic in CallLogFragment. - Remove expand listener from CallLogAdapter. + Update tests and constructor. This preemptively removes expand/collapse behavior. While this will result in a janky short-term experience, this is an incremental step in shifting to RecyclerView and the new "Card" UI. I figured it would be most efficient to delete it straight up, rather than coding in intermediate logic to work with the RecyclerView because it will be made obsolete by the Cards UI anyways. In the long run, expand/collapse animation behavior will be restored once the call log is migrated to RecyclerView and converted to Cards. Bug: 19372817 Change-Id: Icbdc7dcb9f2f2223456c29334c826d38917b087a
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/dialer/calllog/CallLogAdapterTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java b/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java
index dbdde6875..845e279c9 100644
--- a/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java
+++ b/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java
@@ -196,7 +196,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, null);
+ super(context, callFetcher, contactInfoHelper, null);
mContactInfoCache = new TestContactInfoCache(
contactInfoHelper, mOnContactInfoChangedListener);
}