- 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
319 lines
10 KiB
Java
319 lines
10 KiB
Java
package com.facebook.share.model;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import android.text.TextUtils;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt___CollectionsKt;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.text.StringsKt__StringsKt;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class GameRequestContent implements ShareModel {
|
|
private final ActionType actionType;
|
|
private final String cta;
|
|
private final String data;
|
|
private final Filters filters;
|
|
private final String message;
|
|
private final String objectId;
|
|
private final List<String> recipients;
|
|
private final List<String> suggestions;
|
|
private final String title;
|
|
public static final Companion Companion = new Companion(null);
|
|
public static final Parcelable.Creator<GameRequestContent> CREATOR = new Parcelable.Creator<GameRequestContent>() { // from class: com.facebook.share.model.GameRequestContent$Companion$CREATOR$1
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public GameRequestContent createFromParcel(Parcel parcel) {
|
|
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
|
return new GameRequestContent(parcel);
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public GameRequestContent[] newArray(int i) {
|
|
return new GameRequestContent[i];
|
|
}
|
|
};
|
|
|
|
public /* synthetic */ GameRequestContent(Builder builder, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(builder);
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public final ActionType getActionType() {
|
|
return this.actionType;
|
|
}
|
|
|
|
public final String getCta() {
|
|
return this.cta;
|
|
}
|
|
|
|
public final String getData() {
|
|
return this.data;
|
|
}
|
|
|
|
public final Filters getFilters() {
|
|
return this.filters;
|
|
}
|
|
|
|
public final String getMessage() {
|
|
return this.message;
|
|
}
|
|
|
|
public final String getObjectId() {
|
|
return this.objectId;
|
|
}
|
|
|
|
public final List<String> getRecipients() {
|
|
return this.recipients;
|
|
}
|
|
|
|
public final List<String> getSuggestions() {
|
|
return this.suggestions;
|
|
}
|
|
|
|
public final String getTitle() {
|
|
return this.title;
|
|
}
|
|
|
|
public enum ActionType {
|
|
SEND,
|
|
ASKFOR,
|
|
TURN,
|
|
INVITE;
|
|
|
|
/* renamed from: values, reason: to resolve conflict with enum method */
|
|
public static ActionType[] valuesCustom() {
|
|
ActionType[] valuesCustom = values();
|
|
return (ActionType[]) Arrays.copyOf(valuesCustom, valuesCustom.length);
|
|
}
|
|
}
|
|
|
|
public enum Filters {
|
|
APP_USERS,
|
|
APP_NON_USERS,
|
|
EVERYBODY;
|
|
|
|
/* renamed from: values, reason: to resolve conflict with enum method */
|
|
public static Filters[] valuesCustom() {
|
|
Filters[] valuesCustom = values();
|
|
return (Filters[]) Arrays.copyOf(valuesCustom, valuesCustom.length);
|
|
}
|
|
}
|
|
|
|
private GameRequestContent(Builder builder) {
|
|
this.message = builder.getMessage$facebook_common_release();
|
|
this.cta = builder.getCta$facebook_common_release();
|
|
this.recipients = builder.getRecipients$facebook_common_release();
|
|
this.title = builder.getTitle$facebook_common_release();
|
|
this.data = builder.getData$facebook_common_release();
|
|
this.actionType = builder.getActionType$facebook_common_release();
|
|
this.objectId = builder.getObjectId$facebook_common_release();
|
|
this.filters = builder.getFilters$facebook_common_release();
|
|
this.suggestions = builder.getSuggestions$facebook_common_release();
|
|
}
|
|
|
|
public GameRequestContent(Parcel parcel) {
|
|
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
|
this.message = parcel.readString();
|
|
this.cta = parcel.readString();
|
|
this.recipients = parcel.createStringArrayList();
|
|
this.title = parcel.readString();
|
|
this.data = parcel.readString();
|
|
this.actionType = (ActionType) parcel.readSerializable();
|
|
this.objectId = parcel.readString();
|
|
this.filters = (Filters) parcel.readSerializable();
|
|
this.suggestions = parcel.createStringArrayList();
|
|
}
|
|
|
|
public final String getTo() {
|
|
List<String> list = this.recipients;
|
|
if (list != null) {
|
|
return TextUtils.join(",", list);
|
|
}
|
|
return null;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(Parcel out, int i) {
|
|
Intrinsics.checkNotNullParameter(out, "out");
|
|
out.writeString(this.message);
|
|
out.writeString(this.cta);
|
|
out.writeStringList(this.recipients);
|
|
out.writeString(this.title);
|
|
out.writeString(this.data);
|
|
out.writeSerializable(this.actionType);
|
|
out.writeString(this.objectId);
|
|
out.writeSerializable(this.filters);
|
|
out.writeStringList(this.suggestions);
|
|
}
|
|
|
|
public static final class Builder implements ShareModelBuilder<GameRequestContent, Builder> {
|
|
private ActionType actionType;
|
|
private String cta;
|
|
private String data;
|
|
private Filters filters;
|
|
private String message;
|
|
private String objectId;
|
|
private List<String> recipients;
|
|
private List<String> suggestions;
|
|
private String title;
|
|
|
|
public final ActionType getActionType$facebook_common_release() {
|
|
return this.actionType;
|
|
}
|
|
|
|
public final String getCta$facebook_common_release() {
|
|
return this.cta;
|
|
}
|
|
|
|
public final String getData$facebook_common_release() {
|
|
return this.data;
|
|
}
|
|
|
|
public final Filters getFilters$facebook_common_release() {
|
|
return this.filters;
|
|
}
|
|
|
|
public final String getMessage$facebook_common_release() {
|
|
return this.message;
|
|
}
|
|
|
|
public final String getObjectId$facebook_common_release() {
|
|
return this.objectId;
|
|
}
|
|
|
|
public final List<String> getRecipients$facebook_common_release() {
|
|
return this.recipients;
|
|
}
|
|
|
|
public final List<String> getSuggestions$facebook_common_release() {
|
|
return this.suggestions;
|
|
}
|
|
|
|
public final String getTitle$facebook_common_release() {
|
|
return this.title;
|
|
}
|
|
|
|
public final Builder setActionType(ActionType actionType) {
|
|
this.actionType = actionType;
|
|
return this;
|
|
}
|
|
|
|
public final void setActionType$facebook_common_release(ActionType actionType) {
|
|
this.actionType = actionType;
|
|
}
|
|
|
|
public final Builder setCta(String str) {
|
|
this.cta = str;
|
|
return this;
|
|
}
|
|
|
|
public final void setCta$facebook_common_release(String str) {
|
|
this.cta = str;
|
|
}
|
|
|
|
public final Builder setData(String str) {
|
|
this.data = str;
|
|
return this;
|
|
}
|
|
|
|
public final void setData$facebook_common_release(String str) {
|
|
this.data = str;
|
|
}
|
|
|
|
public final Builder setFilters(Filters filters) {
|
|
this.filters = filters;
|
|
return this;
|
|
}
|
|
|
|
public final void setFilters$facebook_common_release(Filters filters) {
|
|
this.filters = filters;
|
|
}
|
|
|
|
public final Builder setMessage(String str) {
|
|
this.message = str;
|
|
return this;
|
|
}
|
|
|
|
public final void setMessage$facebook_common_release(String str) {
|
|
this.message = str;
|
|
}
|
|
|
|
public final Builder setObjectId(String str) {
|
|
this.objectId = str;
|
|
return this;
|
|
}
|
|
|
|
public final void setObjectId$facebook_common_release(String str) {
|
|
this.objectId = str;
|
|
}
|
|
|
|
public final Builder setRecipients(List<String> list) {
|
|
this.recipients = list;
|
|
return this;
|
|
}
|
|
|
|
public final void setRecipients$facebook_common_release(List<String> list) {
|
|
this.recipients = list;
|
|
}
|
|
|
|
public final Builder setSuggestions(List<String> list) {
|
|
this.suggestions = list;
|
|
return this;
|
|
}
|
|
|
|
public final void setSuggestions$facebook_common_release(List<String> list) {
|
|
this.suggestions = list;
|
|
}
|
|
|
|
public final Builder setTitle(String str) {
|
|
this.title = str;
|
|
return this;
|
|
}
|
|
|
|
public final void setTitle$facebook_common_release(String str) {
|
|
this.title = str;
|
|
}
|
|
|
|
public final Builder setTo(String str) {
|
|
List split$default;
|
|
if (str != null) {
|
|
split$default = StringsKt__StringsKt.split$default((CharSequence) str, new char[]{','}, false, 0, 6, (Object) null);
|
|
this.recipients = CollectionsKt___CollectionsKt.toList(split$default);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override // com.facebook.share.ShareBuilder
|
|
public GameRequestContent build() {
|
|
return new GameRequestContent(this, null);
|
|
}
|
|
|
|
@Override // com.facebook.share.model.ShareModelBuilder
|
|
public Builder readFrom(GameRequestContent gameRequestContent) {
|
|
return gameRequestContent == null ? this : setMessage(gameRequestContent.getMessage()).setCta(gameRequestContent.getCta()).setRecipients(gameRequestContent.getRecipients()).setTitle(gameRequestContent.getTitle()).setData(gameRequestContent.getData()).setActionType(gameRequestContent.getActionType()).setObjectId(gameRequestContent.getObjectId()).setFilters(gameRequestContent.getFilters()).setSuggestions(gameRequestContent.getSuggestions());
|
|
}
|
|
|
|
public final Builder readFrom$facebook_common_release(Parcel parcel) {
|
|
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
|
return readFrom((GameRequestContent) parcel.readParcelable(GameRequestContent.class.getClassLoader()));
|
|
}
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
}
|
|
}
|