Change ApiCompatibilityUtils.getDrawable to use AppCompatResources
Reported by
ltian@chromium.org,
Dec 5 2017
|
|||
Issue descriptionApiCompatibilityUtils.getDrawable current implementation uses Resources.getDrawable. This will crash if drawable is VectorDrawable. To solve the problem, we should use AppCompatResources.getDrawable.
,
Jun 7 2018
changwan@: I look into AppCompactDrawableManager and looks like what it does for check VectorDrawable is use resources to get the TypeValue for the resId then see whether it is a xml file and if so, manually parse the file to see whether it is a VectorDrawable.
,
Jun 7 2018
,
Jan 11
Available, but no owner or component? Please find a component, as no one will ever find this without one. |
|||
►
Sign in to add a comment |
|||
Comment 1 by changwan@chromium.org
, Feb 9 2018