summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2009-09-28 12:57:42 -0700
committerXavier Ducrohet <xav@android.com>2009-09-28 12:59:33 -0700
commitf18ccc13a663fe385ecdfbdfd55ef503d48833f5 (patch)
tree32a2eb1f0fbd1420eea722e150c8fd1cfda9bbfe /tools/layoutlib
parent41c64ba73cf4dbc14beeaaa618afdd908da8b0cb (diff)
downloadframeworks_base-f18ccc13a663fe385ecdfbdfd55ef503d48833f5.zip
frameworks_base-f18ccc13a663fe385ecdfbdfd55ef503d48833f5.tar.gz
frameworks_base-f18ccc13a663fe385ecdfbdfd55ef503d48833f5.tar.bz2
Fix a warning output.
This was introduced by the dpi work. Change-Id: I7c7b1596085f70532b8279139c287a2a58f57046
Diffstat (limited to 'tools/layoutlib')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
index daba8cfd..957f737 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java
@@ -673,7 +673,8 @@ public final class BridgeTypedArray extends TypedArray {
// looks like we were unable to resolve the drawable
mContext.getLogger().warning(String.format(
- "Unable to resolve drawable \"%1$s\" in attribute \"%2$s\"", value, mNames[index]));
+ "Unable to resolve drawable \"%1$s\" in attribute \"%2$s\"", stringValue,
+ mNames[index]));
return null;
}