From 8818ca4db2f1ae396964912bf8035ee88988f4dd Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Fri, 16 Mar 2012 14:49:49 -0700 Subject: 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 --- .../src/com/android/ide/eclipse/adt/internal/build/BuildHelper.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eclipse') 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); + } } } }); -- cgit v1.1