commit | c80ad99a33ee49d0bac994c1749ff24d243c3862 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Mon May 19 15:46:17 2014 -0700 |
committer | Alan Viverette <alanv@google.com> | Mon May 19 16:27:31 2014 -0700 |
tree | 63fd934b7c8b6c651d48393d569424f2ef0df95b | |
parent | c9550f2ce8fc7043256396a689fae01b121b0d5b [diff] [blame] |
TouchFeedbackDrawable is now RippleDrawable Change-Id: I59f5f04b73089215c6320560556ac21beb03db06
diff --git a/core/java/android/widget/CompoundButton.java b/core/java/android/widget/CompoundButton.java index 9e17cca..6aff4f4 100644 --- a/core/java/android/widget/CompoundButton.java +++ b/core/java/android/widget/CompoundButton.java
@@ -285,7 +285,7 @@ buttonDrawable.setBounds(left, top, right, bottom); final Drawable background = getBackground(); - if (background != null && background.supportsHotspots()) { + if (background != null) { background.setHotspotBounds(left, top, right, bottom); } }