47 lines
1.9 KiB
Java
47 lines
1.9 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Bitmap;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import com.squareup.picasso.Picasso;
|
||
|
import java.lang.ref.Reference;
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.fOi, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C13028fOi extends AbstractC13013fNz<InterfaceC13027fOh> {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public C13028fOi(Picasso picasso, InterfaceC13027fOh interfaceC13027fOh, fNW fnw, int i, int i2, Drawable drawable, String str, Object obj, int i3) {
|
||
|
super(picasso, interfaceC13027fOh, fnw, i, i2, i3, drawable, str, obj, false);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // o.AbstractC13013fNz
|
||
|
public final void aBD_(Bitmap bitmap, Picasso.HBt hBt) {
|
||
|
if (bitmap == null) {
|
||
|
throw new AssertionError(String.format("Attempted to complete action with no result!\n%s", this));
|
||
|
}
|
||
|
Reference reference = this.n;
|
||
|
InterfaceC13027fOh interfaceC13027fOh = (InterfaceC13027fOh) (reference == null ? null : reference.get());
|
||
|
if (interfaceC13027fOh != null) {
|
||
|
interfaceC13027fOh.aBB_(bitmap);
|
||
|
if (bitmap.isRecycled()) {
|
||
|
throw new IllegalStateException("Target callback must not recycle bitmap!");
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
@Override // o.AbstractC13013fNz
|
||
|
public final void a(Exception exc) {
|
||
|
Reference reference = this.n;
|
||
|
InterfaceC13027fOh interfaceC13027fOh = (InterfaceC13027fOh) (reference == null ? null : reference.get());
|
||
|
if (interfaceC13027fOh != null) {
|
||
|
if (this.b != 0) {
|
||
|
interfaceC13027fOh.aBA_(this.h.c.getResources().getDrawable(this.b));
|
||
|
} else {
|
||
|
interfaceC13027fOh.aBA_(this.d);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|