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:
Hilal Alsibai
2021-03-24 04:30:41 -07:00
committed by Facebook GitHub Bot
parent 0a7f37d859
commit 949545a2a7

View File

@@ -68,9 +68,6 @@ public final class ContextDescriptorUtils {
themeKey = sThemeImplThemeKeyField.get(themeImpl);
sThemeKeyResIdField = themeKey.getClass().getDeclaredField("mResId");
sThemeKeyResIdField.setAccessible(true);
return builderMap;
} else {
themeImpl = sThemeImplField.get(theme);
themeKey = sThemeImplThemeKeyField.get(themeImpl);