Picsart v24.6版本的 MD5 值为:21a61631d94e54da68d2ad9268b8b9d9
以下内容为反编译后的 e.java 源代码,内容仅作参考
package myobfuscated.uy1;
import android.content.Context;
import androidx.fragment.app.Fragment;
import com.facebook.AccessToken;
import com.facebook.FacebookException;
import com.facebook.login.n;
import com.picsart.logger.PALog;
import java.util.Date;
import org.json.JSONException;
import org.json.JSONObject;
public final class e implements myobfuscated.oj.h<n> {
public final androidx.fragment.app.h a;
public final Fragment b;
public final myobfuscated.sy1.f c;
public final String[] d;
public e(Fragment fragment, androidx.fragment.app.h hVar, myobfuscated.sy1.f fVar, String[] strArr) {
this.a = hVar;
this.b = fragment;
this.c = fVar;
this.d = strArr;
}
@Override
public final void a(FacebookException facebookException) {
JSONObject jSONObject;
PALog.a("i", "loginFacebook: onError " + facebookException.getMessage());
i.b = false;
i.c = false;
if (facebookException.getMessage() != null) {
try {
jSONObject = new JSONObject(facebookException.getMessage());
} catch (JSONException e) {
e.printStackTrace();
jSONObject = null;
}
String lowerCase = facebookException.getMessage().toLowerCase();
if (lowerCase.contains("invalid access_token")) {
Context a = myobfuscated.oj.j.a();
myobfuscated.wl1.b.a(a, "facebook.com");
myobfuscated.wl1.b.a(a, ".facebook.com");
myobfuscated.wl1.b.a(a, "https://facebook.com");
myobfuscated.wl1.b.a(a, "https://.facebook.com");
} else {
boolean contains = lowerCase.contains("error validating access token");
androidx.fragment.app.h hVar = this.a;
if (contains) {
i.k(false, hVar.getLifecycle());
} else if (jSONObject != null && jSONObject.has("code")) {
myobfuscated.ud0.c.g(0, hVar, "permission is not granted");
}
}
this.c.onError(lowerCase);
}
}
@Override
public final void c() {
PALog.a("i", "loginFacebook: onCanceled");
i.b = false;
i.c = false;
this.c.c();
Date date = AccessToken.l;
if (AccessToken.b.b() == null) {
i.d = true;
}
}
@Override
public final void onSuccess(n nVar) {
i.b = false;
i.c = false;
i.l(this.a, this.b, new d(this), this.d, true);
}
}