what-the-bank/sources/o/C16632pq.java

93 lines
2.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/* renamed from: o.pq, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16632pq extends C16157lj {
@InterfaceC13391fZD
public C16632pq(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
/* renamed from: o.pq$Sts */
/* loaded from: classes3.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
public static String e(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
if (str2.length() == 0) {
return "";
}
if (C14957gcv.b((Object) str, (Object) "Road")) {
StringBuilder sb = new StringBuilder();
sb.append(str2);
sb.append(" ");
sb.append(str);
return sb.toString();
}
if (C14957gcv.b((Object) str, (Object) "")) {
return str2;
}
StringBuilder sb2 = new StringBuilder();
sb2.append(str);
sb2.append(" ");
sb2.append(str2);
return sb2.toString();
}
public static List<String> n(String str) {
C14957gcv.e(str, "");
return gdZ.e(str, new String[]{"\n"});
}
public static String c(eNY eny) {
C14851gaI c14851gaI = C14851gaI.c;
if (eny != null) {
String[] strArr = new String[4];
strArr[0] = eny.e;
String str = eny.d;
if (str == null) {
str = "";
}
strArr[1] = str;
String str2 = eny.a;
if (str2 == null) {
str2 = "";
}
strArr[2] = str2;
strArr[3] = eny.b;
C14957gcv.e(strArr, "");
C14957gcv.e(strArr, "");
c14851gaI = Arrays.asList(strArr);
C14957gcv.c(c14851gaI, "");
}
ArrayList arrayList = new ArrayList();
for (Object obj : c14851gaI) {
if (((String) obj).length() > 0) {
arrayList.add(obj);
}
}
ArrayList arrayList2 = arrayList;
C14957gcv.e(arrayList2, "");
C14957gcv.e("\n", "");
return C14881gav.b(arrayList2, "\n", null, null, 0, null, null, 62);
}
static {
new Sts((byte) 0);
}
}