49 lines
1.9 KiB
Java
49 lines
1.9 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import java.util.Arrays;
|
|
import o.C15715hv;
|
|
|
|
/* renamed from: o.qd, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16715qd extends C16157lj {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C16715qd(Resources resources, SharedPreferences sharedPreferences) {
|
|
super(resources, sharedPreferences);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
}
|
|
|
|
private final String c(String str, String str2) {
|
|
String str3 = str;
|
|
if (str3 != null && !gdZ.d((CharSequence) str3)) {
|
|
return str;
|
|
}
|
|
gcH gch = gcH.d;
|
|
String e = e(C15715hv.tOB.two_words);
|
|
C14957gcv.c((Object) e, "");
|
|
String format = String.format(e, Arrays.copyOf(new Object[]{e(C15715hv.tOB.input), str2}, 2));
|
|
C14957gcv.c((Object) format, "");
|
|
return format;
|
|
}
|
|
|
|
public final JE e(C1193Xr c1193Xr, boolean z) {
|
|
return new JE(true, z, c1193Xr != null ? c1193Xr.F : null, c(c1193Xr != null ? c1193Xr.G : null, c1193Xr != null ? c1193Xr.F : null), c1193Xr != null ? c1193Xr.K : null);
|
|
}
|
|
|
|
public final JE d(C1193Xr c1193Xr, boolean z, String str) {
|
|
C14957gcv.e(str, "");
|
|
return new JE(C14957gcv.b((Object) (c1193Xr != null ? c1193Xr.P : null), (Object) str), z, c1193Xr != null ? c1193Xr.M : null, c(c1193Xr != null ? c1193Xr.H : null, c1193Xr != null ? c1193Xr.M : null), c1193Xr != null ? c1193Xr.J : null);
|
|
}
|
|
|
|
public static JD a(C1193Xr c1193Xr, String str, String str2, String str3, String str4) {
|
|
C14957gcv.e(c1193Xr, "");
|
|
C14957gcv.e(str3, "");
|
|
c1193Xr.K = str;
|
|
c1193Xr.J = str2;
|
|
return new JD(c1193Xr, str3, str4);
|
|
}
|
|
}
|