35 lines
950 B
Java
35 lines
950 B
Java
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|