diff options
author | Yorke Lee <yorkelee@google.com> | 2014-10-24 17:16:39 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-10-24 17:28:43 -0700 |
commit | 2ff08a8f8d4762ab5d0aebb0b69079f0b8d20b3e (patch) | |
tree | 6be63de891f12e491c6226e66bb879e562e02280 /tests/src/com | |
parent | 152266fb7ae309942e9a67419f104a29f491c0b8 (diff) |
Remove CallLogListItemView
CallLogListItemView is a custom view that might have done
something once, but doesn't anymore. It makes the code more
complicated to read and requires a lot of casting that does
nothing at all.
Change-Id: I53efb35367d748aa3d164d0fb56686175967c90e
Diffstat (limited to 'tests/src/com')
-rw-r--r-- | tests/src/com/android/dialer/calllog/CallLogAdapterTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java b/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java index b7f06d31c..9b3e6bcc4 100644 --- a/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java +++ b/tests/src/com/android/dialer/calllog/CallLogAdapterTest.java @@ -21,6 +21,7 @@ import android.database.MatrixCursor; import android.test.AndroidTestCase; import android.test.suitebuilder.annotation.SmallTest; import android.view.View; +import android.widget.LinearLayout; import com.google.common.collect.Lists; @@ -68,7 +69,7 @@ public class CallLogAdapterTest extends AndroidTestCase { mCursor = new MatrixCursor(CallLogQuery._PROJECTION); mCursor.moveToFirst(); // The views into which to store the data. - mView = new CallLogListItemView(getContext()); + mView = new LinearLayout(getContext()); mView.setTag(CallLogListItemViews.createForTest(getContext())); } |