summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2012-06-27 16:19:45 -0700
committerAdam Powell <adamp@google.com>2012-06-27 16:19:45 -0700
commit74d762a3ee7dd66fe9ce44f3232159811af8d5d8 (patch)
treed6eb9c32390e4913ea6842d0317a50a10870f4a9
parent7bdc151eecf5cb01af19964c43e99f41069d093d (diff)
downloadframeworks_base-74d762a3ee7dd66fe9ce44f3232159811af8d5d8.zip
frameworks_base-74d762a3ee7dd66fe9ce44f3232159811af8d5d8.tar.gz
frameworks_base-74d762a3ee7dd66fe9ce44f3232159811af8d5d8.tar.bz2
Fix bug in parsing attributes for MediaRouteButton
Change-Id: Ib61506f7b09b1e043f3f21d2fd46281fbced00f4
-rw-r--r--core/java/android/app/MediaRouteButton.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/MediaRouteButton.java b/core/java/android/app/MediaRouteButton.java
index c34c163..b0bfe74 100644
--- a/core/java/android/app/MediaRouteButton.java
+++ b/core/java/android/app/MediaRouteButton.java
@@ -60,7 +60,7 @@ public class MediaRouteButton extends View {
}
public MediaRouteButton(Context context, AttributeSet attrs) {
- this(context, null, com.android.internal.R.attr.mediaRouteButtonStyle);
+ this(context, attrs, com.android.internal.R.attr.mediaRouteButtonStyle);
}
public MediaRouteButton(Context context, AttributeSet attrs, int defStyleAttr) {