summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2012-03-12 13:41:37 -0700
committerAdam Powell <adamp@google.com>2012-03-12 13:41:37 -0700
commit48774533f1cfe3036919a2f73631e07b7c284617 (patch)
treec8b2c5358db8f5783cd79e1f375117abbc0bb6ba /core
parent5d1907b2f3e624dc838e9658a1986636252ac8b1 (diff)
downloadframeworks_base-48774533f1cfe3036919a2f73631e07b7c284617.zip
frameworks_base-48774533f1cfe3036919a2f73631e07b7c284617.tar.gz
frameworks_base-48774533f1cfe3036919a2f73631e07b7c284617.tar.bz2
Respect default styles when constructing GridViews with 1-arg constructor
Fixes public bug http://code.google.com/p/android/issues/detail?id=26757 Change-Id: If78b6210485558c5630445bdd4d6312386aaf2b5
Diffstat (limited to 'core')
-rw-r--r--core/java/android/widget/GridView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/GridView.java b/core/java/android/widget/GridView.java
index 0dedf8b..739bcce 100644
--- a/core/java/android/widget/GridView.java
+++ b/core/java/android/widget/GridView.java
@@ -99,7 +99,7 @@ public class GridView extends AbsListView {
private final Rect mTempRect = new Rect();
public GridView(Context context) {
- super(context);
+ this(context, null);
}
public GridView(Context context, AttributeSet attrs) {