63 lines
1.6 KiB
Java
63 lines
1.6 KiB
Java
package com.facebook.appevents;
|
|
|
|
import com.facebook.AccessToken;
|
|
import com.facebook.FacebookSdk;
|
|
import com.facebook.internal.Utility;
|
|
import java.io.Serializable;
|
|
|
|
/* loaded from: classes.dex */
|
|
class AccessTokenAppIdPair implements Serializable {
|
|
private final String a;
|
|
private final String b;
|
|
|
|
static class SerializationProxyV1 implements Serializable {
|
|
private final String a;
|
|
private final String b;
|
|
|
|
private Object readResolve() {
|
|
return new AccessTokenAppIdPair(this.a, this.b);
|
|
}
|
|
|
|
private SerializationProxyV1(String str, String str2) {
|
|
this.a = str;
|
|
this.b = str2;
|
|
}
|
|
}
|
|
|
|
public AccessTokenAppIdPair(AccessToken accessToken) {
|
|
this(accessToken.getToken(), FacebookSdk.c());
|
|
}
|
|
|
|
private Object writeReplace() {
|
|
return new SerializationProxyV1(this.a, this.b);
|
|
}
|
|
|
|
public String a() {
|
|
return this.a;
|
|
}
|
|
|
|
public String b() {
|
|
return this.b;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (!(obj instanceof AccessTokenAppIdPair)) {
|
|
return false;
|
|
}
|
|
AccessTokenAppIdPair accessTokenAppIdPair = (AccessTokenAppIdPair) obj;
|
|
return Utility.a(accessTokenAppIdPair.a, this.a) && Utility.a(accessTokenAppIdPair.b, this.b);
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.a;
|
|
int hashCode = str == null ? 0 : str.hashCode();
|
|
String str2 = this.b;
|
|
return hashCode ^ (str2 != null ? str2.hashCode() : 0);
|
|
}
|
|
|
|
public AccessTokenAppIdPair(String str, String str2) {
|
|
this.a = Utility.c(str) ? null : str;
|
|
this.b = str2;
|
|
}
|
|
}
|