Add required cast
Change-Id: I6ff78f583777ec71d414d2fa66cce3390fd97d0e
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user