Check resource type, not directory for colors
Previously, Resources#getDrawable() would fail when trying to load a ColorStateListDrawable from a ColorStateList defined in a resources directory with a qualifier. Bug: 137141830 Test: atest android.content.res.cts.ResourcesTest Change-Id: I2ad57dd7cfa30de64653805d4ea209388ff90f41
Loading
Please register or sign in to comment