diff options
author | Xavier Ducrohet <xav@android.com> | 2012-03-16 14:49:49 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-03-16 15:13:45 -0700 |
commit | 8818ca4db2f1ae396964912bf8035ee88988f4dd (patch) | |
tree | ea6af86d983f35246c18489da6bc3e39e58812c4 /eclipse/plugins | |
parent | 45a6d2d3883b33a3a8391c0c491b9d6476b0d2e2 (diff) | |
download | sdk-8818ca4db2f1ae396964912bf8035ee88988f4dd.zip sdk-8818ca4db2f1ae396964912bf8035ee88988f4dd.tar.gz sdk-8818ca4db2f1ae396964912bf8035ee88988f4dd.tar.bz2 |
Properly support attr ns when used in styles.
Previously we just stripped the namespace prefix when reading attribute
names in styles and declare-styleables. This was bad if one created
a declare-styleable mixing platform and app attributes that were
named the same.
This change is Eclipse side only and prevents ADT crashed (due to stack
overflows) but the rendering won't be correct. An updated version of
layoutlib using API 8 is necessary.
Change-Id: I3029f3e06cdd96cd46af511bb029bc5274b935ad
Diffstat (limited to 'eclipse/plugins')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/BuildHelper.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/BuildHelper.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/BuildHelper.java index e8fbadb..0f556f9 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/BuildHelper.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/BuildHelper.java @@ -1083,6 +1083,9 @@ public class BuildHelper { public void err(String line) { if (line != null) { results.add(line); + if (BuildVerbosity.VERBOSE == AdtPrefs.getPrefs().getBuildVerbosity()) { + AdtPlugin.printErrorToConsole(project, line); + } } } }); |