Avoid getString with resid 0

This commit is contained in:
Aleksandras Kostarevas 2024-01-09 23:19:33 +02:00
parent b5446fb77f
commit 0457a56218

View File

@ -222,7 +222,7 @@ public final class SubtypeLocaleUtils {
}
final String displayName;
if (exceptionalNameResId != null) {
if (exceptionalNameResId != null && exceptionalNameResId != 0) {
final RunInLocale<String> getExceptionalName = new RunInLocale<String>() {
@Override
protected String job(final Resources res) {