MCPcopy Index your code
hub / github.com/M66B/FairEmail / getString

Method getString

app/src/main/java/eu/faircode/email/Helper.java:2556–2560  ·  view source on GitHub ↗
(Context context, String language, int resid, Object... formatArgs)

Source from the content-addressed store, hash-verified

2554 }
2555
2556 static String getString(Context context, String language, int resid, Object... formatArgs) {
2557 if (language == null)
2558 return context.getString(resid, formatArgs);
2559 return getString(context, new Locale(language), resid, formatArgs);
2560 }
2561
2562 static String getString(Context context, Locale locale, int resid, Object... formatArgs) {
2563 Configuration configuration = new Configuration(context.getResources().getConfiguration());

Callers 15

getSubjectMethod · 0.95
getReplyHeaderMethod · 0.95
onCreateDialogMethod · 0.45
onExecuteMethod · 0.45
onExceptionMethod · 0.45
initMethod · 0.45
onChangedMethod · 0.45
getNotificationAlertMethod · 0.45
monitorAccountMethod · 0.45
onCreateMethod · 0.45
onClickMethod · 0.45

Calls 2

getResourcesMethod · 0.45
setLocaleMethod · 0.45

Tested by

no test coverage detected