From f18ccc13a663fe385ecdfbdfd55ef503d48833f5 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Mon, 28 Sep 2009 12:57:42 -0700 Subject: Fix a warning output. This was introduced by the dpi work. Change-Id: I7c7b1596085f70532b8279139c287a2a58f57046 --- .../bridge/src/com/android/layoutlib/bridge/BridgeTypedArray.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/layoutlib/bridge') 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; } -- cgit v1.1