diff options
author | Adam Powell <adamp@google.com> | 2012-06-27 16:19:45 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2012-06-27 16:19:45 -0700 |
commit | 74d762a3ee7dd66fe9ce44f3232159811af8d5d8 (patch) | |
tree | d6eb9c32390e4913ea6842d0317a50a10870f4a9 | |
parent | 7bdc151eecf5cb01af19964c43e99f41069d093d (diff) | |
download | frameworks_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.java | 2 |
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) { |