package o; import android.content.SharedPreferences; import android.content.res.Resources; import java.util.ArrayList; import java.util.Collection; import java.util.List; /* renamed from: o.Aa, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0141Aa extends C16157lj { /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C0141Aa(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); } public static List a(List list, boolean z, boolean z2, boolean z3) { String str; C14957gcv.e(list, ""); List list2 = list; C14957gcv.e(list2, ""); ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10); for (C17480xBa c17480xBa : list2) { if (c17480xBa.h != null) { String str2 = c17480xBa.h; C14957gcv.c((Object) str2, ""); if (str2.length() != 0) { str = c17480xBa.h; String c = c(c17480xBa.b, z); C14957gcv.c((Object) c, ""); C14957gcv.c((Object) str, ""); arrayList.add(new C1066Uw(z2, z3, c, str)); } } str = c17480xBa.k; String c2 = c(c17480xBa.b, z); C14957gcv.c((Object) c2, ""); C14957gcv.c((Object) str, ""); arrayList.add(new C1066Uw(z2, z3, c2, str)); } return arrayList; } }