ChatOn v1.35.366360版本的 MD5 值为:cde28447b38d5467efa95e48e7076155
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.aiby.feature_rate_dialog.presentation;
import android.util.Log;
import androidx.fragment.app.c0;
import com.google.android.gms.common.api.ApiException;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.internal.mlkit_vision_text_bundled_common.c9;
import com.itextpdf.text.pdf.PdfObject;
import java.util.HashMap;
import java.util.Locale;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import lc.h;
import lc.j;
import lc.s;
public abstract class a {
public static void a(p5.a aVar, n5.a checkPlatformRateDialogResult, c0 activity) {
s sVar;
HashMap hashMap;
String str;
PlatformRateLauncher$launchRateFlow$1 onComplete = new Function0<Unit>() {
@Override
public final Object invoke() {
return Unit.f14034a;
}
};
PlatformRateLauncher$launchRateFlow$2 onError = new Function1<Exception, Unit>() {
@Override
public final Object invoke(Object obj) {
Exception exc = (Exception) obj;
return Unit.f14034a;
}
};
q5.a aVar2 = (q5.a) aVar;
aVar2.getClass();
Intrinsics.checkNotNullParameter(checkPlatformRateDialogResult, "checkPlatformRateDialogResult");
Intrinsics.checkNotNullParameter(activity, "activity");
Intrinsics.checkNotNullParameter(onComplete, "onComplete");
Intrinsics.checkNotNullParameter(onError, "onError");
rd.a aVar3 = aVar2.f18411a.f8151a;
c9 c9Var = rd.a.f19026c;
c9Var.e("requestInAppReview (%s)", aVar3.f19028b);
if (aVar3.f19027a == null) {
Object[] objArr = new Object[0];
if (Log.isLoggable("PlayCore", 6)) {
Log.e("PlayCore", c9.g(c9Var.f6982d, "Play Store app is either not installed or not the official version", objArr));
}
Locale locale = Locale.getDefault();
Object[] objArr2 = new Object[2];
objArr2[0] = -1;
if (td.a.f19716a.containsKey(-1)) {
str = ((String) hashMap.get(-1)) + " (https://developer.android.com/reference/com/google/android/play/core/review/model/ReviewErrorCode.html#" + ((String) td.a.f19717b.get(-1)) + ")";
} else {
str = PdfObject.NOTHING;
}
objArr2[1] = str;
sVar = j.d(new ApiException(new Status(-1, String.format(locale, "Review Error(%d): %s", objArr2))));
} else {
h hVar = new h();
sd.j jVar = aVar3.f19027a;
sd.h hVar2 = new sd.h(aVar3, hVar, hVar, 2);
synchronized (jVar.f19441f) {
jVar.f19440e.add(hVar);
hVar.f16244a.b(new g7.a(jVar, 2, hVar));
}
synchronized (jVar.f19441f) {
try {
if (jVar.f19446k.getAndIncrement() > 0) {
c9 c9Var2 = jVar.f19437b;
Object[] objArr3 = new Object[0];
c9Var2.getClass();
if (Log.isLoggable("PlayCore", 3)) {
Log.d("PlayCore", c9.g(c9Var2.f6982d, "Already connected to the service.", objArr3));
}
}
} catch (Throwable th2) {
throw th2;
}
}
jVar.a().post(new sd.h(jVar, hVar, hVar2, 0));
sVar = hVar.f16244a;
}
sVar.b(new com.aiby.feature_rate_dialog.presentation.impl.a(aVar2, activity, onError, checkPlatformRateDialogResult, onComplete));
}
}