Merge "LayoutLib: Log error when style can't be found." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
3a762f2fd1
@@ -382,8 +382,9 @@ public final class BridgeContext extends Activity {
|
||||
defStyleValues = (StyleResourceValue)item;
|
||||
}
|
||||
} else {
|
||||
// TODO: log the error properly
|
||||
System.out.println("Failed to find defStyle: " + defStyleName);
|
||||
Bridge.getLog().error(null,
|
||||
String.format(
|
||||
"Failed to find style '%s' in current theme", defStyleName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user