mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 05:39:53 +01:00
Update lint suppressions.
This commit is contained in:
@@ -103,7 +103,6 @@ public class Localizer {
|
|||||||
Resources res = context.getResources();
|
Resources res = context.getResources();
|
||||||
Configuration conf = res.getConfiguration();
|
Configuration conf = res.getConfiguration();
|
||||||
updateConfiguration(conf, locale);
|
updateConfiguration(conf, locale);
|
||||||
//noinspection deprecation
|
|
||||||
res.updateConfiguration(conf, res.getDisplayMetrics());
|
res.updateConfiguration(conf, res.getDisplayMetrics());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -132,6 +131,7 @@ public class Localizer {
|
|||||||
if (SDK_INT >= 24) {
|
if (SDK_INT >= 24) {
|
||||||
return config.getLocales().get(0);
|
return config.getLocales().get(0);
|
||||||
} else {
|
} else {
|
||||||
|
//noinspection deprecation
|
||||||
return config.locale;
|
return config.locale;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user