am 3a762f2f: Merge "LayoutLib: Log error when style can\'t be found." into honeycomb

* commit '3a762f2fd1447868c028978ef57801f5f246a504':
  LayoutLib: Log error when style can't be found.
This commit is contained in:
Xavier Ducrohet
2011-01-11 17:25:27 -08:00
committed by Android Git Automerger

View File

@@ -382,8 +382,9 @@ public final class BridgeContext extends Activity {
defStyleValues = (StyleResourceValue)item; defStyleValues = (StyleResourceValue)item;
} }
} else { } else {
// TODO: log the error properly Bridge.getLog().error(null,
System.out.println("Failed to find defStyle: " + defStyleName); String.format(
"Failed to find style '%s' in current theme", defStyleName));
} }
} }
} }