55 lines
1.5 KiB
Java
55 lines
1.5 KiB
Java
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<Uri, InputStream> {
|
|
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<InputStream> e(Uri uri, int i, int i2, unA una) {
|
|
Uri uri2 = uri;
|
|
if (!C15604gzZ.a(i, i2)) {
|
|
return null;
|
|
}
|
|
wrW<Long> 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<Uri, InputStream> {
|
|
private final Context e;
|
|
|
|
public HBt(Context context) {
|
|
this.e = context;
|
|
}
|
|
|
|
@Override // o.rIx
|
|
public final SCe<Uri, InputStream> c(Vzp vzp) {
|
|
return new C7054cgz(this.e);
|
|
}
|
|
}
|
|
}
|