Resource resolution bug fix.
Fix a bug where "?attr/foo" in framework resources wasn't resolved properly. Change-Id: I9a56974f526774fde79685f668f01021136d68f1
This commit is contained in:
@@ -598,8 +598,7 @@ public final class BridgeContext extends Context {
|
||||
|
||||
if (item != null) {
|
||||
// item is a reference to a style entry. Search for it.
|
||||
item = mRenderResources.findResValue(item.getValue(),
|
||||
false /*forceFrameworkOnly*/);
|
||||
item = mRenderResources.findResValue(item.getValue(), item.isFramework());
|
||||
|
||||
if (item instanceof StyleResourceValue) {
|
||||
defStyleValues = (StyleResourceValue)item;
|
||||
|
||||
Reference in New Issue
Block a user