Don't skip the first theme data retrieval
Summary: Was early returning on the first attempt to load theme data, this was left over from when the the theme feature was temporarily disabled. Reviewed By: passy Differential Revision: D27284040 fbshipit-source-id: bb641fbe4cd9c0ea6012e89dbda67e5dd10d59bd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0a7f37d859
commit
949545a2a7
@@ -68,9 +68,6 @@ public final class ContextDescriptorUtils {
|
|||||||
themeKey = sThemeImplThemeKeyField.get(themeImpl);
|
themeKey = sThemeImplThemeKeyField.get(themeImpl);
|
||||||
sThemeKeyResIdField = themeKey.getClass().getDeclaredField("mResId");
|
sThemeKeyResIdField = themeKey.getClass().getDeclaredField("mResId");
|
||||||
sThemeKeyResIdField.setAccessible(true);
|
sThemeKeyResIdField.setAccessible(true);
|
||||||
|
|
||||||
return builderMap;
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
themeImpl = sThemeImplField.get(theme);
|
themeImpl = sThemeImplField.get(theme);
|
||||||
themeKey = sThemeImplThemeKeyField.get(themeImpl);
|
themeKey = sThemeImplThemeKeyField.get(themeImpl);
|
||||||
|
|||||||
Reference in New Issue
Block a user