package o; import android.content.SharedPreferences; import android.content.res.Resources; /* renamed from: o.Am, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0161Am extends C16157lj { private final SharedPreferences a; private final Resources d; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C0161Am(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); this.d = resources; this.a = sharedPreferences; } public final String a(C13758fgP c13758fgP) { C14957gcv.e(c13758fgP, ""); if (b()) { return c13758fgP.a; } return c13758fgP.d; } }