summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2015-06-30 14:28:58 -0700
committerDeepanshu Gupta <deepanshu@google.com>2015-06-30 14:28:58 -0700
commit5d1eaf4a197130f561b16c4ed083cf016b20ab92 (patch)
tree2ddfee0d83c07d1db673602572287277dcc62b7e /tools
parent810d5ed23b89265946d7f0fd8b2e6002038f1f2c (diff)
downloadframeworks_base-5d1eaf4a197130f561b16c4ed083cf016b20ab92.zip
frameworks_base-5d1eaf4a197130f561b16c4ed083cf016b20ab92.tar.gz
frameworks_base-5d1eaf4a197130f561b16c4ed083cf016b20ab92.tar.bz2
Add missing resolveResValue call.
Bug: http://b.android.com/178504 Change-Id: I7dde8094cf762893e4f7ea0d3de87a281c9602cd
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
index 422b2aa..582ac33 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeContext.java
@@ -742,7 +742,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(), item.isFramework());
-
+ item = mRenderResources.resolveResValue(item);
if (item instanceof StyleResourceValue) {
defStyleValues = (StyleResourceValue) item;
}