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-08-25 12:06:49 -0700
commitdb67caa60c6050e7a46d1b90ccb6847a5b8ec661 (patch)
tree25284a6934c96570b4ef33125fd76e1a09d2361e /tools
parent6eef124657a6e7d2c70b284f22d6c0006cfea93a (diff)
downloadframeworks_base-db67caa60c6050e7a46d1b90ccb6847a5b8ec661.zip
frameworks_base-db67caa60c6050e7a46d1b90ccb6847a5b8ec661.tar.gz
frameworks_base-db67caa60c6050e7a46d1b90ccb6847a5b8ec661.tar.bz2
Add missing resolveResValue call. [DO NOT MERGE]
Bug: http://b.android.com/178504 Change-Id: I7dde8094cf762893e4f7ea0d3de87a281c9602cd (cherry picked from commit 5d1eaf4a197130f561b16c4ed083cf016b20ab92)
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 62e0f0b..9de908e 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
@@ -708,7 +708,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;
}