Files
rr3-apk/decompiled-community/sources/com/fyber/inneractive/sdk/util/a0.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

78 lines
2.1 KiB
Java

package com.fyber.inneractive.sdk.util;
import android.net.Uri;
import android.text.TextUtils;
import androidx.core.net.MailTo;
import com.fyber.inneractive.sdk.config.IAConfigManager;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
/* loaded from: classes2.dex */
public final class a0 extends o {
public static final class a {
public final d a;
public final Throwable b;
public a(d dVar, Throwable th) {
this.a = dVar;
this.b = th;
}
}
public static final class b extends Exception {
public b(String str) {
super(str);
}
}
public enum c {
DO_NOT_OPEN_IN_INTERNAL_BROWSER,
OPEN_EVERYTHING
}
public enum d {
FAILED,
OPENED_IN_INTERNAL_BROWSER,
OPEN_IN_EXTERNAL_APPLICATION,
OPEN_IN_EXTERNAL_BROWSER,
OPENED_USING_CHROME_NAVIGATE,
OPENED_INTERNAL_STORE
}
public static HashMap a(Uri uri) {
HashMap hashMap = new HashMap();
for (String str : uri.getQueryParameterNames()) {
hashMap.put(str, uri.getQueryParameter(str));
}
return hashMap;
}
public static boolean d(String str) {
return str.startsWith("http%3A%2F%2F") || str.startsWith("https%3A%2F%2F") || str.startsWith("%");
}
public static boolean e(String str) {
if (!str.startsWith("tel:") && !str.startsWith("voicemail:") && !str.startsWith("sms:") && !str.startsWith(MailTo.MAILTO_SCHEME) && !str.startsWith("geo:") && !str.startsWith("google.streetview:")) {
try {
new URL(str);
return false;
} catch (MalformedURLException unused) {
IAlog.f("Failed to open Url: %s", str);
}
}
return true;
}
public static boolean f(String str) {
if (TextUtils.isEmpty(str)) {
return true;
}
if (!s.a() || IAConfigManager.L.q) {
return (str.startsWith("http://") || str.startsWith("http%3A%2F%2F")) ? false : true;
}
return true;
}
}