summaryrefslogtreecommitdiffstats
path: root/tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-03-08 11:50:21 -0800
committerXavier Ducrohet <xav@android.com>2011-03-08 15:00:35 -0800
commitadaa12cd9e421edf34e36de8cfacc3e3c334bb64 (patch)
tree8a52c39f4e27d9ad86beda0197908b3e7ac55ced /tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java
parent6f2fb570642189ec2b6068632c25f02391007bb5 (diff)
downloadframeworks_base-adaa12cd9e421edf34e36de8cfacc3e3c334bb64.zip
frameworks_base-adaa12cd9e421edf34e36de8cfacc3e3c334bb64.tar.gz
frameworks_base-adaa12cd9e421edf34e36de8cfacc3e3c334bb64.tar.bz2
LayoutLib: fix Capabilities and getDimensionPixelSize
Commented out a Capability that is not in ADT 10. BridgeTypedArray.getDimensionPixelSize shouldn't call getDimension since most of the code is duplicated, and it prevents use from properly detecting malformed attribute values. Change-Id: I005b17061590dc0668729af16e896fad815f1973
Diffstat (limited to 'tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java')
-rw-r--r--tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java b/tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java
index 85bc785..db14e53 100644
--- a/tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java
+++ b/tools/layoutlib/bridge/src/android/graphics/Path_Delegate.java
@@ -393,7 +393,7 @@ public final class Path_Delegate {
for (int i = 0 ; i < 3 ; i++) {
if (radii[i * 2] != radii[(i + 1) * 2] || radii[i * 2 + 1] != radii[(i + 1) * 2 + 1]) {
Bridge.getLog().fidelityWarning(LayoutLog.TAG_UNSUPPORTED,
- "Different corner size is not support in Path.addRoundRect.",
+ "Different corner sizes are not supported in Path.addRoundRect.",
null, null /*data*/);
break;
}