Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,402 @@
package com.facebook.applinks;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import androidx.annotation.Nullable;
import androidx.core.app.NotificationCompat;
import com.facebook.FacebookException;
import com.facebook.FacebookSdk;
import com.facebook.GraphRequest;
import com.facebook.appevents.AppEventsLogger;
import com.facebook.internal.AttributionIdentifiers;
import com.facebook.internal.Utility;
import com.facebook.internal.Validate;
import com.facebook.internal.instrument.crashshield.CrashShieldHandler;
import java.util.Iterator;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class AppLinkData {
private static final String APPLINK_BRIDGE_ARGS_KEY = "bridge_args";
private static final String APPLINK_METHOD_ARGS_KEY = "method_args";
private static final String APPLINK_VERSION_KEY = "version";
public static final String ARGUMENTS_EXTRAS_KEY = "extras";
public static final String ARGUMENTS_NATIVE_CLASS_KEY = "com.facebook.platform.APPLINK_NATIVE_CLASS";
public static final String ARGUMENTS_NATIVE_URL = "com.facebook.platform.APPLINK_NATIVE_URL";
public static final String ARGUMENTS_REFERER_DATA_KEY = "referer_data";
public static final String ARGUMENTS_TAPTIME_KEY = "com.facebook.platform.APPLINK_TAP_TIME_UTC";
private static final String AUTO_APPLINK_FLAG_KEY = "is_auto_applink";
private static final String BRIDGE_ARGS_METHOD_KEY = "method";
private static final String BUNDLE_AL_APPLINK_DATA_KEY = "al_applink_data";
private static final String BUNDLE_APPLINK_ARGS_KEY = "com.facebook.platform.APPLINK_ARGS";
private static final String DEFERRED_APP_LINK_ARGS_FIELD = "applink_args";
private static final String DEFERRED_APP_LINK_CLASS_FIELD = "applink_class";
private static final String DEFERRED_APP_LINK_CLICK_TIME_FIELD = "click_time";
private static final String DEFERRED_APP_LINK_EVENT = "DEFERRED_APP_LINK";
private static final String DEFERRED_APP_LINK_PATH = "%s/activities";
private static final String DEFERRED_APP_LINK_URL_FIELD = "applink_url";
private static final String EXTRAS_DEEPLINK_CONTEXT_KEY = "deeplink_context";
private static final String METHOD_ARGS_REF_KEY = "ref";
private static final String METHOD_ARGS_TARGET_URL_KEY = "target_url";
private static final String PROMOTION_CODE_KEY = "promo_code";
private static final String REFERER_DATA_REF_KEY = "fb_ref";
private static final String TAG = "com.facebook.applinks.AppLinkData";
@Nullable
private JSONObject appLinkData;
@Nullable
private Bundle argumentBundle;
@Nullable
private JSONObject arguments;
@Nullable
private String promotionCode;
@Nullable
private String ref;
@Nullable
private Uri targetUri;
public interface CompletionHandler {
void onDeferredAppLinkDataFetched(@Nullable AppLinkData appLinkData);
}
@Nullable
public Bundle getArgumentBundle() {
return this.argumentBundle;
}
@Nullable
public String getPromotionCode() {
return this.promotionCode;
}
@Nullable
public String getRef() {
return this.ref;
}
@Nullable
public Uri getTargetUri() {
return this.targetUri;
}
public static void fetchDeferredAppLinkData(Context context, CompletionHandler completionHandler) {
fetchDeferredAppLinkData(context, null, completionHandler);
}
public static void fetchDeferredAppLinkData(Context context, final String str, final CompletionHandler completionHandler) {
Validate.notNull(context, "context");
Validate.notNull(completionHandler, "completionHandler");
if (str == null) {
str = Utility.getMetadataApplicationId(context);
}
Validate.notNull(str, "applicationId");
final Context applicationContext = context.getApplicationContext();
FacebookSdk.getExecutor().execute(new Runnable() { // from class: com.facebook.applinks.AppLinkData.1
@Override // java.lang.Runnable
public void run() {
if (CrashShieldHandler.isObjectCrashing(this)) {
return;
}
try {
AppLinkData.fetchDeferredAppLinkFromServer(applicationContext, str, completionHandler);
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, this);
}
}
});
}
/* JADX INFO: Access modifiers changed from: private */
public static void fetchDeferredAppLinkFromServer(Context context, String str, CompletionHandler completionHandler) {
JSONObject jSONObject = new JSONObject();
try {
jSONObject.put(NotificationCompat.CATEGORY_EVENT, DEFERRED_APP_LINK_EVENT);
Utility.setAppEventAttributionParameters(jSONObject, AttributionIdentifiers.getAttributionIdentifiers(context), AppEventsLogger.getAnonymousAppDeviceGUID(context), FacebookSdk.getLimitEventAndDataUsage(context), context);
Utility.setAppEventExtendedDeviceInfoParameters(jSONObject, FacebookSdk.getApplicationContext());
jSONObject.put("application_package_name", context.getPackageName());
String format = String.format(DEFERRED_APP_LINK_PATH, str);
AppLinkData appLinkData = null;
try {
JSONObject jSONObject2 = GraphRequest.newPostRequest(null, format, jSONObject, null).executeAndWait().getJSONObject();
if (jSONObject2 != null) {
String optString = jSONObject2.optString(DEFERRED_APP_LINK_ARGS_FIELD);
long optLong = jSONObject2.optLong(DEFERRED_APP_LINK_CLICK_TIME_FIELD, -1L);
String optString2 = jSONObject2.optString(DEFERRED_APP_LINK_CLASS_FIELD);
String optString3 = jSONObject2.optString(DEFERRED_APP_LINK_URL_FIELD);
if (!TextUtils.isEmpty(optString) && (appLinkData = createFromJson(optString)) != null) {
if (optLong != -1) {
try {
JSONObject jSONObject3 = appLinkData.arguments;
if (jSONObject3 != null) {
jSONObject3.put(ARGUMENTS_TAPTIME_KEY, optLong);
}
Bundle bundle = appLinkData.argumentBundle;
if (bundle != null) {
bundle.putString(ARGUMENTS_TAPTIME_KEY, Long.toString(optLong));
}
} catch (JSONException unused) {
Utility.logd(TAG, "Unable to put tap time in AppLinkData.arguments");
}
}
if (optString2 != null) {
try {
JSONObject jSONObject4 = appLinkData.arguments;
if (jSONObject4 != null) {
jSONObject4.put(ARGUMENTS_NATIVE_CLASS_KEY, optString2);
}
Bundle bundle2 = appLinkData.argumentBundle;
if (bundle2 != null) {
bundle2.putString(ARGUMENTS_NATIVE_CLASS_KEY, optString2);
}
} catch (JSONException unused2) {
Utility.logd(TAG, "Unable to put app link class name in AppLinkData.arguments");
}
}
if (optString3 != null) {
try {
JSONObject jSONObject5 = appLinkData.arguments;
if (jSONObject5 != null) {
jSONObject5.put(ARGUMENTS_NATIVE_URL, optString3);
}
Bundle bundle3 = appLinkData.argumentBundle;
if (bundle3 != null) {
bundle3.putString(ARGUMENTS_NATIVE_URL, optString3);
}
} catch (JSONException unused3) {
Utility.logd(TAG, "Unable to put app link URL in AppLinkData.arguments");
}
}
}
}
} catch (Exception unused4) {
Utility.logd(TAG, "Unable to fetch deferred applink from server");
}
completionHandler.onDeferredAppLinkDataFetched(appLinkData);
} catch (JSONException e) {
throw new FacebookException("An error occurred while preparing deferred app link", e);
}
}
@Nullable
public static AppLinkData createFromActivity(Activity activity) {
if (CrashShieldHandler.isObjectCrashing(AppLinkData.class)) {
return null;
}
try {
Validate.notNull(activity, "activity");
Intent intent = activity.getIntent();
if (intent == null) {
return null;
}
AppLinkData createFromAlApplinkData = createFromAlApplinkData(intent);
if (createFromAlApplinkData == null) {
createFromAlApplinkData = createFromJson(intent.getStringExtra(BUNDLE_APPLINK_ARGS_KEY));
}
return createFromAlApplinkData == null ? createFromUri(intent.getData()) : createFromAlApplinkData;
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, AppLinkData.class);
return null;
}
}
@Nullable
public static AppLinkData createFromAlApplinkData(Intent intent) {
String string;
String string2;
if (CrashShieldHandler.isObjectCrashing(AppLinkData.class) || intent == null) {
return null;
}
try {
Bundle bundleExtra = intent.getBundleExtra("al_applink_data");
if (bundleExtra == null) {
return null;
}
AppLinkData appLinkData = new AppLinkData();
Uri data = intent.getData();
appLinkData.targetUri = data;
appLinkData.appLinkData = getAppLinkData(data);
if (appLinkData.targetUri == null && (string2 = bundleExtra.getString(METHOD_ARGS_TARGET_URL_KEY)) != null) {
appLinkData.targetUri = Uri.parse(string2);
}
appLinkData.argumentBundle = bundleExtra;
appLinkData.arguments = null;
Bundle bundle = bundleExtra.getBundle(ARGUMENTS_REFERER_DATA_KEY);
if (bundle != null) {
appLinkData.ref = bundle.getString(REFERER_DATA_REF_KEY);
}
Bundle bundle2 = bundleExtra.getBundle("extras");
if (bundle2 != null && (string = bundle2.getString("deeplink_context")) != null) {
try {
JSONObject jSONObject = new JSONObject(string);
if (jSONObject.has("promo_code")) {
appLinkData.promotionCode = jSONObject.getString("promo_code");
}
} catch (JSONException e) {
Utility.logd(TAG, "Unable to parse deeplink_context JSON", e);
}
}
return appLinkData;
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, AppLinkData.class);
return null;
}
}
@Nullable
private static AppLinkData createFromJson(String str) {
if (str == null) {
return null;
}
try {
JSONObject jSONObject = new JSONObject(str);
String string = jSONObject.getString("version");
if (jSONObject.getJSONObject("bridge_args").getString("method").equals("applink") && string.equals("2")) {
AppLinkData appLinkData = new AppLinkData();
JSONObject jSONObject2 = jSONObject.getJSONObject("method_args");
appLinkData.arguments = jSONObject2;
if (jSONObject2.has(METHOD_ARGS_REF_KEY)) {
appLinkData.ref = appLinkData.arguments.getString(METHOD_ARGS_REF_KEY);
} else if (appLinkData.arguments.has(ARGUMENTS_REFERER_DATA_KEY)) {
JSONObject jSONObject3 = appLinkData.arguments.getJSONObject(ARGUMENTS_REFERER_DATA_KEY);
if (jSONObject3.has(REFERER_DATA_REF_KEY)) {
appLinkData.ref = jSONObject3.getString(REFERER_DATA_REF_KEY);
}
}
if (appLinkData.arguments.has(METHOD_ARGS_TARGET_URL_KEY)) {
Uri parse = Uri.parse(appLinkData.arguments.getString(METHOD_ARGS_TARGET_URL_KEY));
appLinkData.targetUri = parse;
appLinkData.appLinkData = getAppLinkData(parse);
}
if (appLinkData.arguments.has("extras")) {
JSONObject jSONObject4 = appLinkData.arguments.getJSONObject("extras");
if (jSONObject4.has("deeplink_context")) {
JSONObject jSONObject5 = jSONObject4.getJSONObject("deeplink_context");
if (jSONObject5.has("promo_code")) {
appLinkData.promotionCode = jSONObject5.getString("promo_code");
}
}
}
appLinkData.argumentBundle = toBundle(appLinkData.arguments);
return appLinkData;
}
} catch (FacebookException e) {
Utility.logd(TAG, "Unable to parse AppLink JSON", e);
} catch (JSONException e2) {
Utility.logd(TAG, "Unable to parse AppLink JSON", e2);
}
return null;
}
@Nullable
private static AppLinkData createFromUri(Uri uri) {
if (uri == null) {
return null;
}
AppLinkData appLinkData = new AppLinkData();
appLinkData.targetUri = uri;
appLinkData.appLinkData = getAppLinkData(uri);
return appLinkData;
}
private static Bundle toBundle(JSONObject jSONObject) throws JSONException {
Bundle bundle = new Bundle();
Iterator<String> keys = jSONObject.keys();
while (keys.hasNext()) {
String next = keys.next();
Object obj = jSONObject.get(next);
if (obj instanceof JSONObject) {
bundle.putBundle(next, toBundle((JSONObject) obj));
} else if (obj instanceof JSONArray) {
JSONArray jSONArray = (JSONArray) obj;
int i = 0;
if (jSONArray.length() == 0) {
bundle.putStringArray(next, new String[0]);
} else {
Object obj2 = jSONArray.get(0);
if (obj2 instanceof JSONObject) {
Bundle[] bundleArr = new Bundle[jSONArray.length()];
while (i < jSONArray.length()) {
bundleArr[i] = toBundle(jSONArray.getJSONObject(i));
i++;
}
bundle.putParcelableArray(next, bundleArr);
} else {
if (obj2 instanceof JSONArray) {
throw new FacebookException("Nested arrays are not supported.");
}
String[] strArr = new String[jSONArray.length()];
while (i < jSONArray.length()) {
strArr[i] = jSONArray.get(i).toString();
i++;
}
bundle.putStringArray(next, strArr);
}
}
} else {
bundle.putString(next, obj.toString());
}
}
return bundle;
}
@Nullable
private static JSONObject getAppLinkData(@Nullable Uri uri) {
if (CrashShieldHandler.isObjectCrashing(AppLinkData.class) || uri == null) {
return null;
}
try {
String queryParameter = uri.getQueryParameter("al_applink_data");
if (queryParameter == null) {
return null;
}
try {
return new JSONObject(queryParameter);
} catch (JSONException unused) {
return null;
}
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, AppLinkData.class);
return null;
}
}
private AppLinkData() {
}
public boolean isAutoAppLink() {
Uri uri = this.targetUri;
if (uri == null) {
return false;
}
String host = uri.getHost();
String scheme = this.targetUri.getScheme();
String format = String.format("fb%s", FacebookSdk.getApplicationId());
JSONObject jSONObject = this.appLinkData;
return jSONObject != null && jSONObject.optBoolean(AUTO_APPLINK_FLAG_KEY) && "applinks".equals(host) && format.equals(scheme);
}
@Nullable
public Bundle getRefererData() {
Bundle bundle = this.argumentBundle;
if (bundle != null) {
return bundle.getBundle(ARGUMENTS_REFERER_DATA_KEY);
}
return null;
}
public JSONObject getAppLinkData() {
JSONObject jSONObject = this.appLinkData;
return jSONObject != null ? jSONObject : new JSONObject();
}
}

View File

@@ -0,0 +1,7 @@
package com.facebook.applinks;
/* loaded from: classes2.dex */
public final class AppLinks {
private AppLinks() {
}
}

View File

@@ -0,0 +1,8 @@
package com.facebook.applinks;
/* loaded from: classes2.dex */
public final class BuildConfig {
public static final String BUILD_TYPE = "release";
public static final boolean DEBUG = false;
public static final String LIBRARY_PACKAGE_NAME = "com.facebook.applinks";
}

View File

@@ -0,0 +1,245 @@
package com.facebook.applinks;
import android.net.Uri;
import android.os.Bundle;
import com.facebook.AccessToken;
import com.facebook.FacebookRequestError;
import com.facebook.GraphRequest;
import com.facebook.GraphResponse;
import com.facebook.bolts.AppLink;
import com.facebook.bolts.AppLinkResolver;
import com.facebook.bolts.Continuation;
import com.facebook.bolts.Task;
import com.facebook.bolts.TaskCompletionSource;
import com.facebook.internal.instrument.crashshield.CrashShieldHandler;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class FacebookAppLinkResolver implements AppLinkResolver {
private static final String APP_LINK_ANDROID_TARGET_KEY = "android";
private static final String APP_LINK_KEY = "app_links";
private static final String APP_LINK_TARGET_APP_NAME_KEY = "app_name";
private static final String APP_LINK_TARGET_CLASS_KEY = "class";
private static final String APP_LINK_TARGET_PACKAGE_KEY = "package";
private static final String APP_LINK_TARGET_SHOULD_FALLBACK_KEY = "should_fallback";
private static final String APP_LINK_TARGET_URL_KEY = "url";
private static final String APP_LINK_WEB_TARGET_KEY = "web";
private final HashMap<Uri, AppLink> cachedAppLinks = new HashMap<>();
public static /* synthetic */ AppLink.Target access$000(JSONObject jSONObject) {
if (CrashShieldHandler.isObjectCrashing(FacebookAppLinkResolver.class)) {
return null;
}
try {
return getAndroidTargetFromJson(jSONObject);
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, FacebookAppLinkResolver.class);
return null;
}
}
public static /* synthetic */ Uri access$100(Uri uri, JSONObject jSONObject) {
if (CrashShieldHandler.isObjectCrashing(FacebookAppLinkResolver.class)) {
return null;
}
try {
return getWebFallbackUriFromJson(uri, jSONObject);
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, FacebookAppLinkResolver.class);
return null;
}
}
public static /* synthetic */ HashMap access$200(FacebookAppLinkResolver facebookAppLinkResolver) {
if (CrashShieldHandler.isObjectCrashing(FacebookAppLinkResolver.class)) {
return null;
}
try {
return facebookAppLinkResolver.cachedAppLinks;
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, FacebookAppLinkResolver.class);
return null;
}
}
@Override // com.facebook.bolts.AppLinkResolver
public Task<AppLink> getAppLinkFromUrlInBackground(final Uri uri) {
if (CrashShieldHandler.isObjectCrashing(this)) {
return null;
}
try {
ArrayList arrayList = new ArrayList();
arrayList.add(uri);
return getAppLinkFromUrlsInBackground(arrayList).onSuccess(new Continuation<Map<Uri, AppLink>, AppLink>() { // from class: com.facebook.applinks.FacebookAppLinkResolver.1
/* JADX WARN: Can't rename method to resolve collision */
@Override // com.facebook.bolts.Continuation
public AppLink then(Task<Map<Uri, AppLink>> task) throws Exception {
return task.getResult().get(uri);
}
});
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, this);
return null;
}
}
public Task<Map<Uri, AppLink>> getAppLinkFromUrlsInBackground(List<Uri> list) {
AppLink appLink;
if (CrashShieldHandler.isObjectCrashing(this)) {
return null;
}
try {
final HashMap hashMap = new HashMap();
final HashSet hashSet = new HashSet();
StringBuilder sb = new StringBuilder();
for (Uri uri : list) {
synchronized (this.cachedAppLinks) {
appLink = this.cachedAppLinks.get(uri);
}
if (appLink != null) {
hashMap.put(uri, appLink);
} else {
if (!hashSet.isEmpty()) {
sb.append(',');
}
sb.append(uri.toString());
hashSet.add(uri);
}
}
if (hashSet.isEmpty()) {
return Task.forResult(hashMap);
}
final TaskCompletionSource taskCompletionSource = new TaskCompletionSource();
Bundle bundle = new Bundle();
bundle.putString("ids", sb.toString());
bundle.putString(GraphRequest.FIELDS_PARAM, String.format("%s.fields(%s,%s)", APP_LINK_KEY, "android", "web"));
new GraphRequest(AccessToken.getCurrentAccessToken(), "", bundle, null, new GraphRequest.Callback() { // from class: com.facebook.applinks.FacebookAppLinkResolver.2
@Override // com.facebook.GraphRequest.Callback
public void onCompleted(GraphResponse graphResponse) {
if (CrashShieldHandler.isObjectCrashing(this)) {
return;
}
try {
FacebookRequestError error = graphResponse.getError();
if (error != null) {
taskCompletionSource.setError(error.getException());
return;
}
JSONObject jSONObject = graphResponse.getJSONObject();
if (jSONObject == null) {
taskCompletionSource.setResult(hashMap);
return;
}
Iterator it = hashSet.iterator();
while (it.hasNext()) {
Uri uri2 = (Uri) it.next();
if (jSONObject.has(uri2.toString())) {
try {
JSONObject jSONObject2 = jSONObject.getJSONObject(uri2.toString()).getJSONObject(FacebookAppLinkResolver.APP_LINK_KEY);
JSONArray jSONArray = jSONObject2.getJSONArray("android");
int length = jSONArray.length();
ArrayList arrayList = new ArrayList(length);
for (int i = 0; i < length; i++) {
AppLink.Target access$000 = FacebookAppLinkResolver.access$000(jSONArray.getJSONObject(i));
if (access$000 != null) {
arrayList.add(access$000);
}
}
AppLink appLink2 = new AppLink(uri2, arrayList, FacebookAppLinkResolver.access$100(uri2, jSONObject2));
hashMap.put(uri2, appLink2);
synchronized (FacebookAppLinkResolver.access$200(FacebookAppLinkResolver.this)) {
FacebookAppLinkResolver.access$200(FacebookAppLinkResolver.this).put(uri2, appLink2);
}
} catch (JSONException unused) {
continue;
}
}
}
taskCompletionSource.setResult(hashMap);
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, this);
}
}
}).executeAsync();
return taskCompletionSource.getTask();
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, this);
return null;
}
}
private static AppLink.Target getAndroidTargetFromJson(JSONObject jSONObject) {
if (CrashShieldHandler.isObjectCrashing(FacebookAppLinkResolver.class)) {
return null;
}
try {
String tryGetStringFromJson = tryGetStringFromJson(jSONObject, APP_LINK_TARGET_PACKAGE_KEY, null);
if (tryGetStringFromJson == null) {
return null;
}
String tryGetStringFromJson2 = tryGetStringFromJson(jSONObject, APP_LINK_TARGET_CLASS_KEY, null);
String tryGetStringFromJson3 = tryGetStringFromJson(jSONObject, "app_name", null);
String tryGetStringFromJson4 = tryGetStringFromJson(jSONObject, "url", null);
return new AppLink.Target(tryGetStringFromJson, tryGetStringFromJson2, tryGetStringFromJson4 != null ? Uri.parse(tryGetStringFromJson4) : null, tryGetStringFromJson3);
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, FacebookAppLinkResolver.class);
return null;
}
}
private static Uri getWebFallbackUriFromJson(Uri uri, JSONObject jSONObject) {
if (CrashShieldHandler.isObjectCrashing(FacebookAppLinkResolver.class)) {
return null;
}
try {
JSONObject jSONObject2 = jSONObject.getJSONObject("web");
if (!tryGetBooleanFromJson(jSONObject2, APP_LINK_TARGET_SHOULD_FALLBACK_KEY, true)) {
return null;
}
String tryGetStringFromJson = tryGetStringFromJson(jSONObject2, "url", null);
Uri parse = tryGetStringFromJson != null ? Uri.parse(tryGetStringFromJson) : null;
return parse != null ? parse : uri;
} catch (JSONException unused) {
return uri;
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, FacebookAppLinkResolver.class);
return null;
}
}
private static String tryGetStringFromJson(JSONObject jSONObject, String str, String str2) {
if (CrashShieldHandler.isObjectCrashing(FacebookAppLinkResolver.class)) {
return null;
}
try {
return jSONObject.getString(str);
} catch (JSONException unused) {
return str2;
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, FacebookAppLinkResolver.class);
return null;
}
}
private static boolean tryGetBooleanFromJson(JSONObject jSONObject, String str, boolean z) {
if (CrashShieldHandler.isObjectCrashing(FacebookAppLinkResolver.class)) {
return false;
}
try {
return jSONObject.getBoolean(str);
} catch (JSONException unused) {
return z;
} catch (Throwable th) {
CrashShieldHandler.handleThrowable(th, FacebookAppLinkResolver.class);
return false;
}
}
}

View File

@@ -0,0 +1,245 @@
package com.facebook.applinks;
/* loaded from: classes2.dex */
public final class R {
public static final class attr {
public static int alpha = 0x7f040055;
public static int font = 0x7f0400d8;
public static int fontProviderAuthority = 0x7f0400da;
public static int fontProviderCerts = 0x7f0400db;
public static int fontProviderFetchStrategy = 0x7f0400dd;
public static int fontProviderFetchTimeout = 0x7f0400de;
public static int fontProviderPackage = 0x7f0400df;
public static int fontProviderQuery = 0x7f0400e0;
public static int fontStyle = 0x7f0400e2;
public static int fontVariationSettings = 0x7f0400e3;
public static int fontWeight = 0x7f0400e4;
public static int ttcIndex = 0x7f04019c;
private attr() {
}
}
public static final class color {
public static int androidx_core_ripple_material_light = 0x7f060025;
public static int androidx_core_secondary_text_default_material_light = 0x7f060026;
public static int notification_action_color_filter = 0x7f0600e7;
public static int notification_icon_bg_color = 0x7f0600e8;
public static int ripple_material_light = 0x7f0600f3;
public static int secondary_text_default_material_light = 0x7f0600f5;
private color() {
}
}
public static final class dimen {
public static int compat_button_inset_horizontal_material = 0x7f070095;
public static int compat_button_inset_vertical_material = 0x7f070096;
public static int compat_button_padding_horizontal_material = 0x7f070097;
public static int compat_button_padding_vertical_material = 0x7f070098;
public static int compat_control_corner_material = 0x7f070099;
public static int compat_notification_large_icon_max_height = 0x7f07009a;
public static int compat_notification_large_icon_max_width = 0x7f07009b;
public static int notification_action_icon_size = 0x7f070105;
public static int notification_action_text_size = 0x7f070106;
public static int notification_big_circle_margin = 0x7f070107;
public static int notification_content_margin_start = 0x7f070108;
public static int notification_large_icon_height = 0x7f070109;
public static int notification_large_icon_width = 0x7f07010a;
public static int notification_main_column_padding_top = 0x7f07010b;
public static int notification_media_narrow_margin = 0x7f07010c;
public static int notification_right_icon_size = 0x7f07010d;
public static int notification_right_side_padding_top = 0x7f07010e;
public static int notification_small_icon_background_padding = 0x7f07010f;
public static int notification_small_icon_size_as_large = 0x7f070110;
public static int notification_subtext_size = 0x7f070111;
public static int notification_top_pad = 0x7f070112;
public static int notification_top_pad_large_text = 0x7f070113;
private dimen() {
}
}
public static final class drawable {
public static int notification_action_background = 0x7f080241;
public static int notification_bg = 0x7f080242;
public static int notification_bg_low = 0x7f080243;
public static int notification_bg_low_normal = 0x7f080244;
public static int notification_bg_low_pressed = 0x7f080245;
public static int notification_bg_normal = 0x7f080246;
public static int notification_bg_normal_pressed = 0x7f080247;
public static int notification_icon_background = 0x7f080248;
public static int notification_template_icon_bg = 0x7f08024a;
public static int notification_template_icon_low_bg = 0x7f08024b;
public static int notification_tile_bg = 0x7f08024c;
public static int notify_panel_notification_icon_bg = 0x7f08024d;
private drawable() {
}
}
public static final class id {
public static int accessibility_action_clickable_span = 0x7f0a0009;
public static int accessibility_custom_action_0 = 0x7f0a000a;
public static int accessibility_custom_action_1 = 0x7f0a000b;
public static int accessibility_custom_action_10 = 0x7f0a000c;
public static int accessibility_custom_action_11 = 0x7f0a000d;
public static int accessibility_custom_action_12 = 0x7f0a000e;
public static int accessibility_custom_action_13 = 0x7f0a000f;
public static int accessibility_custom_action_14 = 0x7f0a0010;
public static int accessibility_custom_action_15 = 0x7f0a0011;
public static int accessibility_custom_action_16 = 0x7f0a0012;
public static int accessibility_custom_action_17 = 0x7f0a0013;
public static int accessibility_custom_action_18 = 0x7f0a0014;
public static int accessibility_custom_action_19 = 0x7f0a0015;
public static int accessibility_custom_action_2 = 0x7f0a0016;
public static int accessibility_custom_action_20 = 0x7f0a0017;
public static int accessibility_custom_action_21 = 0x7f0a0018;
public static int accessibility_custom_action_22 = 0x7f0a0019;
public static int accessibility_custom_action_23 = 0x7f0a001a;
public static int accessibility_custom_action_24 = 0x7f0a001b;
public static int accessibility_custom_action_25 = 0x7f0a001c;
public static int accessibility_custom_action_26 = 0x7f0a001d;
public static int accessibility_custom_action_27 = 0x7f0a001e;
public static int accessibility_custom_action_28 = 0x7f0a001f;
public static int accessibility_custom_action_29 = 0x7f0a0020;
public static int accessibility_custom_action_3 = 0x7f0a0021;
public static int accessibility_custom_action_30 = 0x7f0a0022;
public static int accessibility_custom_action_31 = 0x7f0a0023;
public static int accessibility_custom_action_4 = 0x7f0a0024;
public static int accessibility_custom_action_5 = 0x7f0a0025;
public static int accessibility_custom_action_6 = 0x7f0a0026;
public static int accessibility_custom_action_7 = 0x7f0a0027;
public static int accessibility_custom_action_8 = 0x7f0a0028;
public static int accessibility_custom_action_9 = 0x7f0a0029;
public static int action_container = 0x7f0a0032;
public static int action_divider = 0x7f0a0034;
public static int action_image = 0x7f0a0035;
public static int action_text = 0x7f0a003c;
public static int actions = 0x7f0a003d;
public static int async = 0x7f0a0088;
public static int blocking = 0x7f0a0091;
public static int chronometer = 0x7f0a00a6;
public static int dialog_button = 0x7f0a00c1;
public static int forever = 0x7f0a0107;
public static int icon = 0x7f0a014a;
public static int icon_group = 0x7f0a014b;
public static int info = 0x7f0a0151;
public static int italic = 0x7f0a0156;
public static int line1 = 0x7f0a015d;
public static int line3 = 0x7f0a015e;
public static int normal = 0x7f0a022f;
public static int notification_background = 0x7f0a0230;
public static int notification_main_column = 0x7f0a0231;
public static int notification_main_column_container = 0x7f0a0232;
public static int right_icon = 0x7f0a0248;
public static int right_side = 0x7f0a0249;
public static int tag_accessibility_actions = 0x7f0a0270;
public static int tag_accessibility_clickable_spans = 0x7f0a0271;
public static int tag_accessibility_heading = 0x7f0a0272;
public static int tag_accessibility_pane_title = 0x7f0a0273;
public static int tag_screen_reader_focusable = 0x7f0a0277;
public static int tag_transition_group = 0x7f0a0279;
public static int tag_unhandled_key_event_manager = 0x7f0a027a;
public static int tag_unhandled_key_listeners = 0x7f0a027b;
public static int text = 0x7f0a027d;
public static int text2 = 0x7f0a027e;
public static int time = 0x7f0a0283;
public static int title = 0x7f0a0284;
private id() {
}
}
public static final class integer {
public static int status_bar_notification_info_maxnum = 0x7f0b0014;
private integer() {
}
}
public static final class layout {
public static int custom_dialog = 0x7f0d0033;
public static int notification_action = 0x7f0d009f;
public static int notification_action_tombstone = 0x7f0d00a0;
public static int notification_template_custom_big = 0x7f0d00a7;
public static int notification_template_icon_group = 0x7f0d00a8;
public static int notification_template_part_chronometer = 0x7f0d00ac;
public static int notification_template_part_time = 0x7f0d00ad;
private layout() {
}
}
public static final class string {
public static int status_bar_notification_info_overflow = 0x7f120187;
private string() {
}
}
public static final class style {
public static int TextAppearance_Compat_Notification = 0x7f130147;
public static int TextAppearance_Compat_Notification_Info = 0x7f130148;
public static int TextAppearance_Compat_Notification_Line2 = 0x7f13014a;
public static int TextAppearance_Compat_Notification_Time = 0x7f13014d;
public static int TextAppearance_Compat_Notification_Title = 0x7f13014f;
public static int Widget_Compat_NotificationActionContainer = 0x7f1301c1;
public static int Widget_Compat_NotificationActionText = 0x7f1301c2;
private style() {
}
}
public static final class styleable {
public static int ColorStateListItem_alpha = 0x00000003;
public static int ColorStateListItem_android_alpha = 0x00000001;
public static int ColorStateListItem_android_color = 0x00000000;
public static int ColorStateListItem_android_lStar = 0x00000002;
public static int ColorStateListItem_lStar = 0x00000004;
public static int FontFamilyFont_android_font = 0x00000000;
public static int FontFamilyFont_android_fontStyle = 0x00000002;
public static int FontFamilyFont_android_fontVariationSettings = 0x00000004;
public static int FontFamilyFont_android_fontWeight = 0x00000001;
public static int FontFamilyFont_android_ttcIndex = 0x00000003;
public static int FontFamilyFont_font = 0x00000005;
public static int FontFamilyFont_fontStyle = 0x00000006;
public static int FontFamilyFont_fontVariationSettings = 0x00000007;
public static int FontFamilyFont_fontWeight = 0x00000008;
public static int FontFamilyFont_ttcIndex = 0x00000009;
public static int FontFamily_fontProviderAuthority = 0x00000000;
public static int FontFamily_fontProviderCerts = 0x00000001;
public static int FontFamily_fontProviderFallbackQuery = 0x00000002;
public static int FontFamily_fontProviderFetchStrategy = 0x00000003;
public static int FontFamily_fontProviderFetchTimeout = 0x00000004;
public static int FontFamily_fontProviderPackage = 0x00000005;
public static int FontFamily_fontProviderQuery = 0x00000006;
public static int FontFamily_fontProviderSystemFontFamily = 0x00000007;
public static int GradientColorItem_android_color = 0x00000000;
public static int GradientColorItem_android_offset = 0x00000001;
public static int GradientColor_android_centerColor = 0x00000007;
public static int GradientColor_android_centerX = 0x00000003;
public static int GradientColor_android_centerY = 0x00000004;
public static int GradientColor_android_endColor = 0x00000001;
public static int GradientColor_android_endX = 0x0000000a;
public static int GradientColor_android_endY = 0x0000000b;
public static int GradientColor_android_gradientRadius = 0x00000005;
public static int GradientColor_android_startColor = 0x00000000;
public static int GradientColor_android_startX = 0x00000008;
public static int GradientColor_android_startY = 0x00000009;
public static int GradientColor_android_tileMode = 0x00000006;
public static int GradientColor_android_type = 0x00000002;
public static int[] ColorStateListItem = {android.R.attr.color, android.R.attr.alpha, android.R.attr.lStar, com.ea.games.r3_row.R.attr.alpha, com.ea.games.r3_row.R.attr.lStar};
public static int[] FontFamily = {com.ea.games.r3_row.R.attr.fontProviderAuthority, com.ea.games.r3_row.R.attr.fontProviderCerts, com.ea.games.r3_row.R.attr.fontProviderFallbackQuery, com.ea.games.r3_row.R.attr.fontProviderFetchStrategy, com.ea.games.r3_row.R.attr.fontProviderFetchTimeout, com.ea.games.r3_row.R.attr.fontProviderPackage, com.ea.games.r3_row.R.attr.fontProviderQuery, com.ea.games.r3_row.R.attr.fontProviderSystemFontFamily};
public static int[] FontFamilyFont = {android.R.attr.font, android.R.attr.fontWeight, android.R.attr.fontStyle, android.R.attr.ttcIndex, android.R.attr.fontVariationSettings, com.ea.games.r3_row.R.attr.font, com.ea.games.r3_row.R.attr.fontStyle, com.ea.games.r3_row.R.attr.fontVariationSettings, com.ea.games.r3_row.R.attr.fontWeight, com.ea.games.r3_row.R.attr.ttcIndex};
public static int[] GradientColor = {android.R.attr.startColor, android.R.attr.endColor, android.R.attr.type, android.R.attr.centerX, android.R.attr.centerY, android.R.attr.gradientRadius, android.R.attr.tileMode, android.R.attr.centerColor, android.R.attr.startX, android.R.attr.startY, android.R.attr.endX, android.R.attr.endY};
public static int[] GradientColorItem = {android.R.attr.color, android.R.attr.offset};
private styleable() {
}
}
private R() {
}
}