Warkop v5.73.0版本的 MD5 值为:a4330ec2d6f5e146f59fc7622f3cdb45
以下内容为反编译后的 a.java 源代码,内容仅作参考
package rk;
import android.content.Context;
import android.content.SharedPreferences;
import com.fairmatic.sdk.setup.SetupRequest;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.google.firebase.perf.network.FirebasePerfOkHttpClient;
import com.google.gson.Gson;
import ns.b0;
import ns.d0;
import ns.s;
import ns.z;
import yn.e;
import yn.f;
public abstract class a extends yn.c {
public static d0 a(Context context, SetupRequest setupRequest) {
z c15 = new z.a().a(new e(context, new Gson())).a(new yn.b()).c();
s.a a15 = new s.a().a("fm_sdk_key", setupRequest.getFmSdkKey()).a("driver_id", setupRequest.getDriverId()).a("sdk_build_version", setupRequest.getSdkBuildVersion()).a(AppMeasurementSdk.ConditionalUserProperty.NAME, setupRequest.getName());
String email = setupRequest.getEmail();
if (email != null) {
a15.a("email", email);
}
String phoneNumber = setupRequest.getPhoneNumber();
if (phoneNumber != null) {
a15.a("phone_number", phoneNumber);
}
return FirebasePerfOkHttpClient.execute(c15.a(new b0.a().v("https://backend.fairmatic.org/v1/api/fmsdk-setup").m(a15.c()).b()));
}
public static void b(Context context, c cVar, SetupRequest setupRequest, String str) {
String x15 = new Gson().x(setupRequest);
SharedPreferences.Editor edit = f.a(context).edit();
edit.putString("SETUP_REQUEST", x15);
edit.putString("SETUP_RESPONSE", str);
edit.putLong("PREVIOUS_SETUP_TS", System.currentTimeMillis());
edit.commit();
}
}