commit | a7cc56eff98846eb64a582ced075d0552a7f5bab | [log] [tgz] |
---|---|---|
author | Chris Craik <ccraik@google.com> | Thu Aug 21 15:08:15 2014 -0700 |
committer | Chris Craik <ccraik@google.com> | Thu Aug 21 15:08:15 2014 -0700 |
tree | 806bb67339d7cad5eb39ef2cf2eb695387ea0b75 | |
parent | 1640395f168d66438db6ebc8ea2988b9fe12ecc0 [diff] |
Fix crashing dispatchDraw test bug:17178924 Change-Id: I19a004827b91925e87071f8a49a033094a45d199
diff --git a/tests/tests/widget/src/android/widget/cts/ExpandableListViewTest.java b/tests/tests/widget/src/android/widget/cts/ExpandableListViewTest.java index 6a68ed9..67dcb30 100644 --- a/tests/tests/widget/src/android/widget/cts/ExpandableListViewTest.java +++ b/tests/tests/widget/src/android/widget/cts/ExpandableListViewTest.java
@@ -390,7 +390,7 @@ public void testDispatchDraw() { MockExpandableListView expandableListView = new MockExpandableListView(mContext); - expandableListView.dispatchDraw(null); + expandableListView.dispatchDraw(new Canvas()); } private class MockExpandableListAdapter implements ExpandableListAdapter {