am 46c924f6: Merge "Modification of testSetHorizontalSpacing()"
* commit '46c924f64ed8770d8140cc7fe626b4c2a9eda4f8':
Modification of testSetHorizontalSpacing()
diff --git a/tests/tests/widget/src/android/widget/cts/GridViewTest.java b/tests/tests/widget/src/android/widget/cts/GridViewTest.java
index 84c07f7..50a7bae 100755
--- a/tests/tests/widget/src/android/widget/cts/GridViewTest.java
+++ b/tests/tests/widget/src/android/widget/cts/GridViewTest.java
@@ -312,7 +312,8 @@
mGridView.setStretchMode(GridView.NO_STRETCH);
// Number of columns should be big enough, otherwise the
// horizontal spacing cannot be correctly verified.
- mGridView.setNumColumns(22);
+ mGridView.setNumColumns(28);
+
// this test case can not be ran in UI thread.
mActivity.runOnUiThread(new Runnable() {