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;
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user