Fix localization crash in DevSettingsActivity

Differential Revision: D6970534

fbshipit-source-id: da1df549b6157e5ec684cf4eed5f411740a73ed0
This commit is contained in:
Andrew Chen (Eng) 2018-02-12 16:29:16 -08:00 committed by Facebook Github Bot
parent bedaaa1419
commit 427e464bb9
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ public class DevSettingsActivity extends PreferenceActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTitle(R.string.catalyst_settings_title);
setTitle(getApplication().getResources().getString(R.string.catalyst_settings_title));
addPreferencesFromResource(R.xml.preferences);
}
}