22 lines
704 B
Java
22 lines
704 B
Java
|
package o;
|
||
|
|
||
|
import android.graphics.BitmapFactory;
|
||
|
import android.util.Base64;
|
||
|
import com.squareup.picasso.Picasso;
|
||
|
import java.io.IOException;
|
||
|
import o.AbstractC12987fNZ;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class fJN extends AbstractC12987fNZ {
|
||
|
@Override // o.AbstractC12987fNZ
|
||
|
public final boolean d(fNW fnw) {
|
||
|
return fnw.r.getScheme().equals("base64");
|
||
|
}
|
||
|
|
||
|
@Override // o.AbstractC12987fNZ
|
||
|
public final AbstractC12987fNZ.Sts c(fNW fnw, int i) throws IOException {
|
||
|
byte[] decode = Base64.decode(fnw.r.getSchemeSpecificPart(), 0);
|
||
|
return new AbstractC12987fNZ.Sts(BitmapFactory.decodeByteArray(decode, 0, decode.length), Picasso.HBt.MEMORY);
|
||
|
}
|
||
|
}
|