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

35 lines
950 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import com.github.barteksc.pdfviewer.PDFView;
import com.huawei.hms.support.api.entity.common.CommonConstant;
/* loaded from: classes.dex */
public final class MGF implements ZAW {
private PDFView c;
public MGF(PDFView pDFView) {
this.c = pDFView;
}
@Override // o.ZAW
public final void a(Nxz nxz) {
String str = nxz.b.e;
Integer num = nxz.b.d;
if (str == null || str.isEmpty()) {
if (num != null) {
this.c.b(num.intValue());
return;
}
return;
}
Intent intent = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str));
Context context = this.c.getContext();
if (intent.resolveActivity(context.getPackageManager()) != null) {
context.startActivity(intent);
}
}
}