package ඓ.ῲ.K.ᕣ.㳳.ᑓ;

import android.content.Context;
import android.net.Uri;
import java.io.InputStream;
import ඓ.ῲ.K.ؿ.C0821;
import ඓ.ῲ.K.ᕣ.C1121;
import ඓ.ῲ.K.ᕣ.㳳.AbstractC1033;
import ඓ.ῲ.K.ᕣ.㳳.AbstractC1091;
import ඓ.ῲ.K.ᕣ.㳳.C1092;
import ඓ.ῲ.K.ᕣ.㿎.ؿ.C1125;
import ῲ.ᨨ.㳳.C1841;

/* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᑓ.ʬ  reason: contains not printable characters */
/* compiled from: MediaStoreImageThumbLoader */
public class C1052 implements AbstractC1033<Uri, InputStream> {

    /* renamed from: K  reason: contains not printable characters */
    public final Context f4493;

    /* renamed from: ඓ.ῲ.K.ᕣ.㳳.ᑓ.ʬ$K  reason: contains not printable characters */
    /* compiled from: MediaStoreImageThumbLoader */
    public static class C1053 implements AbstractC1091<Uri, InputStream> {

        /* renamed from: K  reason: contains not printable characters */
        public final Context f4494;

        public C1053(Context context) {
            this.f4494 = context;
        }

        @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1091
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1033<Uri, InputStream> m2879(C1092 r2) {
            return new C1052(this.f4494);
        }
    }

    public C1052(Context context) {
        this.f4493 = context.getApplicationContext();
    }

    /* Return type fixed from 'ඓ.ῲ.K.ᕣ.㳳.Ԕ$K' to match base method */
    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, int, int, ඓ.ῲ.K.ᕣ.㸾] */
    @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1033
    /* renamed from: K  reason: contains not printable characters */
    public AbstractC1033.C1034<InputStream> m2877(Uri uri, int i, int i2, C1121 r6) {
        Uri uri2 = uri;
        if (!C1841.m4760(i, i2)) {
            return null;
        }
        C0821 r5 = new C0821(uri2);
        Context context = this.f4493;
        return new AbstractC1033.C1034(r5, C1125.m3011(context, uri2, new C1125.C1127(context.getContentResolver())));
    }

    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
    @Override // ඓ.ῲ.K.ᕣ.㳳.AbstractC1033
    /* renamed from: K  reason: contains not printable characters */
    public boolean m2878(Uri uri) {
        Uri uri2 = uri;
        return C1841.m4801(uri2) && !C1841.m4762(uri2);
    }
}
