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

48 lines
1.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.net.Uri;
import java.io.InputStream;
import o.Pxy;
import o.SCe;
/* loaded from: classes.dex */
public final class rKc 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;
}
xBn xbn = new xBn(uri2);
Context context = this.a;
return new SCe.IeS<>(xbn, Pxy.DM_(context, uri2, new Pxy.LWm(context.getContentResolver())));
}
public rKc(Context context) {
this.a = context.getApplicationContext();
}
/* loaded from: classes.dex */
public static class LWm implements rIx<Uri, InputStream> {
private final Context d;
public LWm(Context context) {
this.d = context;
}
@Override // o.rIx
public final SCe<Uri, InputStream> c(Vzp vzp) {
return new rKc(this.d);
}
}
}