what-the-bank/sources/o/fJN.java

22 lines
704 B
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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);
}
}