package o; import android.content.Context; import android.net.Uri; import java.io.InputStream; import o.Pxy; import o.SCe; /* renamed from: o.cgz, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C7054cgz implements SCe { private final Context a; @Override // o.SCe public final /* synthetic */ boolean d(Uri uri) { Uri uri2 = uri; return C15604gzZ.DL_(uri2) && uri2.getPathSegments().contains("video"); } @Override // o.SCe public final /* synthetic */ SCe.IeS e(Uri uri, int i, int i2, unA una) { Uri uri2 = uri; if (!C15604gzZ.a(i, i2)) { return null; } wrW wrw = MzD.d; Long l = (Long) (una.d.containsKey(wrw) ? una.d.get(wrw) : wrw.a); if (l == null || l.longValue() != -1) { return null; } xBn xbn = new xBn(uri2); Context context = this.a; return new SCe.IeS<>(xbn, Pxy.DM_(context, uri2, new Pxy.IeS(context.getContentResolver()))); } public C7054cgz(Context context) { this.a = context.getApplicationContext(); } /* renamed from: o.cgz$HBt */ /* loaded from: classes.dex */ public static class HBt implements rIx { private final Context e; public HBt(Context context) { this.e = context; } @Override // o.rIx public final SCe c(Vzp vzp) { return new C7054cgz(this.e); } } }