commit | 43f7c8ee541e9a7c8f14fd46a8eaf66449108ca4 | [log] [tgz] |
---|---|---|
author | Ashley Rose <ashleyrose@google.com> | Tue Jul 09 20:14:17 2019 -0400 |
committer | Ashley Rose <ashleyrose@google.com> | Tue Jul 09 20:14:17 2019 -0400 |
tree | f59f190f4d8b2164f9fc459bd9df02af6c0b7d3a | |
parent | b1aadabafb45f1e6c42fc5caf68c992bc3266731 [diff] |
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