am 9ab79551: am 4104abf8: Merge "Fix setTextAppearance for styles with dots." into lmp-dev automerge: ddc83df

* commit '9ab79551ac9cee85e019d524dae6a5a6b4004cb5':
  Fix setTextAppearance for styles with dots.
This commit is contained in:
Deepanshu Gupta
2014-11-21 10:11:44 +00:00
committed by Android Git Automerger

View File

@@ -483,16 +483,7 @@ public final class BridgeContext extends Context {
// In some cases, style may not be a dynamic id, so we do a full search.
ResourceReference ref = resolveId(resid);
if (ref != null) {
if (ref.isFramework()) {
ref =
getRenderResources().getFrameworkResource(ResourceType.STYLE, ref.getName());
} else {
ref =
getRenderResources().getProjectResource(ResourceType.STYLE, ref.getName());
}
if (ref instanceof StyleResourceValue) {
style = ((StyleResourceValue) ref);
}
mRenderResources.getStyle(ref.getName(), ref.isFramework());
}
}