package ඓ.ῲ.K.ᕣ.㿎;

import android.content.ContentResolver;
import android.net.Uri;
import android.util.Log;
import com.bumptech.glide.Priority;
import com.bumptech.glide.load.DataSource;
import java.io.FileNotFoundException;
import java.io.IOException;
import ඓ.ῲ.K.ᕣ.㿎.AbstractC1146;

/* renamed from: ඓ.ῲ.K.ᕣ.㿎.㑃  reason: contains not printable characters */
/* compiled from: LocalUriFetcher */
public abstract class AbstractC1138<T> implements AbstractC1146<T> {

    /* renamed from: ʬ  reason: contains not printable characters */
    public final ContentResolver f4614;

    /* renamed from: ῲ  reason: contains not printable characters */
    public final Uri f4615;

    /* renamed from: 㸾  reason: contains not printable characters */
    public T f4616;

    public AbstractC1138(ContentResolver contentResolver, Uri uri) {
        this.f4614 = contentResolver;
        this.f4615 = uri;
    }

    @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
    public void cancel() {
    }

    @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
    /* renamed from: ʬ  reason: contains not printable characters */
    public DataSource m3043() {
        return DataSource.LOCAL;
    }

    @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
    /* renamed from: ῲ  reason: contains not printable characters */
    public void m3044() {
        T t = this.f4616;
        if (t != null) {
            try {
                m3047(t);
            } catch (IOException unused) {
            }
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public abstract T m3045(Uri uri, ContentResolver contentResolver) throws FileNotFoundException;

    @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1146
    /* renamed from: K  reason: contains not printable characters */
    public final void m3046(Priority priority, AbstractC1146.AbstractC1147<? super T> k) {
        try {
            this.f4616 = m3045(this.f4615, this.f4614);
            k.m3069((Object) this.f4616);
        } catch (FileNotFoundException e) {
            if (Log.isLoggable("LocalUriFetcher", 3)) {
                Log.d("LocalUriFetcher", "Failed to open Uri", e);
            }
            k.m3068((Exception) e);
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public abstract void m3047(T t) throws IOException;
}
