- 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
115 lines
4.2 KiB
Java
115 lines
4.2 KiB
Java
package com.facebook.share.model;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import com.facebook.share.model.ShareContent;
|
|
import com.facebook.share.model.SharePhoto;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt___CollectionsKt;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class SharePhotoContent extends ShareContent<SharePhotoContent, Builder> {
|
|
private final List<SharePhoto> photos;
|
|
public static final Companion Companion = new Companion(null);
|
|
public static final Parcelable.Creator<SharePhotoContent> CREATOR = new Parcelable.Creator<SharePhotoContent>() { // from class: com.facebook.share.model.SharePhotoContent$Companion$CREATOR$1
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public SharePhotoContent createFromParcel(Parcel parcel) {
|
|
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
|
return new SharePhotoContent(parcel);
|
|
}
|
|
|
|
/* JADX WARN: Can't rename method to resolve collision */
|
|
@Override // android.os.Parcelable.Creator
|
|
public SharePhotoContent[] newArray(int i) {
|
|
return new SharePhotoContent[i];
|
|
}
|
|
};
|
|
|
|
public /* synthetic */ SharePhotoContent(Builder builder, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(builder);
|
|
}
|
|
|
|
@Override // com.facebook.share.model.ShareContent, android.os.Parcelable
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public final List<SharePhoto> getPhotos() {
|
|
return this.photos;
|
|
}
|
|
|
|
private SharePhotoContent(Builder builder) {
|
|
super(builder);
|
|
this.photos = CollectionsKt___CollectionsKt.toList(builder.getPhotos$facebook_common_release());
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public SharePhotoContent(Parcel parcel) {
|
|
super(parcel);
|
|
Intrinsics.checkNotNullParameter(parcel, "parcel");
|
|
this.photos = CollectionsKt___CollectionsKt.toList(SharePhoto.Builder.Companion.readPhotoListFrom$facebook_common_release(parcel));
|
|
}
|
|
|
|
@Override // com.facebook.share.model.ShareContent, android.os.Parcelable
|
|
public void writeToParcel(Parcel out, int i) {
|
|
Intrinsics.checkNotNullParameter(out, "out");
|
|
super.writeToParcel(out, i);
|
|
SharePhoto.Builder.Companion.writePhotoListTo$facebook_common_release(out, i, this.photos);
|
|
}
|
|
|
|
public static final class Builder extends ShareContent.Builder<SharePhotoContent, Builder> {
|
|
private final List<SharePhoto> photos = new ArrayList();
|
|
|
|
public final List<SharePhoto> getPhotos$facebook_common_release() {
|
|
return this.photos;
|
|
}
|
|
|
|
public final Builder addPhoto(SharePhoto sharePhoto) {
|
|
if (sharePhoto != null) {
|
|
this.photos.add(new SharePhoto.Builder().readFrom(sharePhoto).build());
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public final Builder addPhotos(List<SharePhoto> list) {
|
|
if (list != null) {
|
|
Iterator<SharePhoto> it = list.iterator();
|
|
while (it.hasNext()) {
|
|
addPhoto(it.next());
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@Override // com.facebook.share.ShareBuilder
|
|
public SharePhotoContent build() {
|
|
return new SharePhotoContent(this, null);
|
|
}
|
|
|
|
@Override // com.facebook.share.model.ShareContent.Builder, com.facebook.share.model.ShareModelBuilder
|
|
public Builder readFrom(SharePhotoContent sharePhotoContent) {
|
|
return sharePhotoContent == null ? this : ((Builder) super.readFrom((Builder) sharePhotoContent)).addPhotos(sharePhotoContent.getPhotos());
|
|
}
|
|
|
|
public final Builder setPhotos(List<SharePhoto> list) {
|
|
this.photos.clear();
|
|
addPhotos(list);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
}
|
|
}
|