52 lines
1.2 KiB
Java
52 lines
1.2 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
|
||
|
/* renamed from: o.yw, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C17695yw extends C16157lj {
|
||
|
@InterfaceC13391fZD
|
||
|
public C17695yw(Resources resources, SharedPreferences sharedPreferences) {
|
||
|
super(resources, sharedPreferences);
|
||
|
}
|
||
|
|
||
|
public static C0985Ta c(Xfo xfo, String str) {
|
||
|
String str2;
|
||
|
String str3;
|
||
|
String str4;
|
||
|
if (xfo == null) {
|
||
|
return null;
|
||
|
}
|
||
|
C0985Ta b = C0985Ta.b();
|
||
|
if ("en".equals(str)) {
|
||
|
str2 = xfo.d;
|
||
|
} else {
|
||
|
str2 = xfo.f;
|
||
|
}
|
||
|
b.i = str2;
|
||
|
if ("en".equals(str)) {
|
||
|
str3 = xfo.b;
|
||
|
} else {
|
||
|
str3 = xfo.e;
|
||
|
}
|
||
|
b.a = str3;
|
||
|
b.j = xfo.f;
|
||
|
b.f = xfo.e;
|
||
|
String str5 = "";
|
||
|
if (xfo.d == null || xfo.d.isEmpty()) {
|
||
|
str4 = "";
|
||
|
} else {
|
||
|
str4 = xfo.d;
|
||
|
}
|
||
|
b.b = str4;
|
||
|
if (xfo.b != null && !xfo.b.isEmpty()) {
|
||
|
str5 = xfo.b;
|
||
|
}
|
||
|
b.c = str5;
|
||
|
b.d = xfo.c;
|
||
|
b.h = xfo.a;
|
||
|
return b;
|
||
|
}
|
||
|
}
|