discord-jadx/app/src/main/java/b/f/j/p/b1.java

33 lines
965 B
Java
Raw Normal View History

2021-12-21 23:37:30 +00:00
package b.f.j.p;
2021-06-27 20:44:35 +00:00
2022-01-27 00:50:41 +00:00
import android.content.ContentResolver;
import b.c.a.a0.d;
2021-12-21 23:37:30 +00:00
import b.f.d.g.g;
import b.f.j.j.e;
2021-06-27 20:44:35 +00:00
import com.facebook.imagepipeline.request.ImageRequest;
2022-01-27 00:50:41 +00:00
import java.io.IOException;
import java.io.InputStream;
2021-06-27 20:44:35 +00:00
import java.util.concurrent.Executor;
2022-03-02 20:59:20 +00:00
/* compiled from: QualifiedResourceFetchProducer.java */
2022-04-12 20:58:48 +00:00
/* loaded from: classes3.dex */
2022-01-27 00:50:41 +00:00
public class b1 extends g0 {
public final ContentResolver c;
2021-06-27 20:44:35 +00:00
2022-01-27 00:50:41 +00:00
public b1(Executor executor, g gVar, ContentResolver contentResolver) {
super(executor, gVar);
this.c = contentResolver;
2021-06-27 20:44:35 +00:00
}
2022-01-27 00:50:41 +00:00
@Override // b.f.j.p.g0
public e d(ImageRequest imageRequest) throws IOException {
InputStream openInputStream = this.c.openInputStream(imageRequest.c);
d.y(openInputStream, "ContentResolver returned null InputStream");
return c(openInputStream, -1);
2021-06-27 20:44:35 +00:00
}
2022-01-27 00:50:41 +00:00
@Override // b.f.j.p.g0
public String e() {
return "QualifiedResourceFetchProducer";
2021-06-27 20:44:35 +00:00
}
}