Add required cast

Change-Id: I6ff78f583777ec71d414d2fa66cce3390fd97d0e
This commit is contained in:
Adam Cohen
2014-06-03 22:23:28 -07:00
parent 18bbc6a013
commit 179370154f
@@ -52,7 +52,7 @@ public class InfoDropTarget extends ButtonDropTarget {
if (mDrawable == null) {
// TODO: investigate why this is ever happening. Presently only on one known device.
mDrawable = r.getDrawable(R.drawable.info_target_selector);
mDrawable = (TransitionDrawable) r.getDrawable(R.drawable.info_target_selector);
setCompoundDrawablesRelativeWithIntrinsicBounds(mDrawable, null, null, null);
}