Fix localization crash in DevSettingsActivity
Differential Revision: D6970534 fbshipit-source-id: da1df549b6157e5ec684cf4eed5f411740a73ed0
This commit is contained in:
parent
bedaaa1419
commit
427e464bb9
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue