- 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
69 lines
2.9 KiB
Java
69 lines
2.9 KiB
Java
package com.facebook.gamingservices.internal;
|
|
|
|
import android.net.Uri;
|
|
import android.os.Bundle;
|
|
import com.facebook.FacebookSdk;
|
|
import com.facebook.gamingservices.cloudgaming.internal.SDKConstants;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class TournamentJoinDialogURIBuilder {
|
|
public static final TournamentJoinDialogURIBuilder INSTANCE = new TournamentJoinDialogURIBuilder();
|
|
|
|
private TournamentJoinDialogURIBuilder() {
|
|
}
|
|
|
|
private final Uri.Builder baseUriBuilder() {
|
|
Uri.Builder appendPath = new Uri.Builder().scheme("https").authority(FacebookSdk.getFacebookGamingDomain()).appendPath("dialog").appendPath("join_tournament");
|
|
Intrinsics.checkNotNullExpressionValue(appendPath, "Builder()\n .scheme(\"https\")\n .authority(FacebookSdk.getFacebookGamingDomain())\n .appendPath(\"dialog\")\n .appendPath(\"join_tournament\")");
|
|
return appendPath;
|
|
}
|
|
|
|
public static /* synthetic */ Uri uri$facebook_gamingservices_release$default(TournamentJoinDialogURIBuilder tournamentJoinDialogURIBuilder, String str, String str2, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = null;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
str2 = null;
|
|
}
|
|
return tournamentJoinDialogURIBuilder.uri$facebook_gamingservices_release(str, str2);
|
|
}
|
|
|
|
public final Uri uri$facebook_gamingservices_release(String str, String str2) {
|
|
Uri.Builder baseUriBuilder = baseUriBuilder();
|
|
if (str != null) {
|
|
baseUriBuilder.appendQueryParameter(SDKConstants.PARAM_TOURNAMENTS_ID, str);
|
|
}
|
|
if (str2 != null) {
|
|
baseUriBuilder.appendQueryParameter("payload", str2);
|
|
}
|
|
Uri build = baseUriBuilder.build();
|
|
Intrinsics.checkNotNullExpressionValue(build, "builder.build()");
|
|
return build;
|
|
}
|
|
|
|
public static /* synthetic */ Bundle bundle$facebook_gamingservices_release$default(TournamentJoinDialogURIBuilder tournamentJoinDialogURIBuilder, String str, String str2, String str3, int i, Object obj) {
|
|
if ((i & 2) != 0) {
|
|
str2 = null;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
str3 = null;
|
|
}
|
|
return tournamentJoinDialogURIBuilder.bundle$facebook_gamingservices_release(str, str2, str3);
|
|
}
|
|
|
|
public final Bundle bundle$facebook_gamingservices_release(String appID, String str, String str2) {
|
|
Intrinsics.checkNotNullParameter(appID, "appID");
|
|
Bundle bundle = new Bundle();
|
|
bundle.putString(SDKConstants.PARAM_TOURNAMENTS_DEEPLINK, SDKConstants.PARAM_TOURNAMENTS);
|
|
bundle.putString("app_id", appID);
|
|
if (str != null) {
|
|
bundle.putString(SDKConstants.PARAM_TOURNAMENTS_ID, str);
|
|
}
|
|
if (str2 != null) {
|
|
bundle.putString("payload", str2);
|
|
}
|
|
return bundle;
|
|
}
|
|
}
|