- 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
100 lines
4.1 KiB
Java
100 lines
4.1 KiB
Java
package com.vungle.ads.internal.task;
|
|
|
|
import android.content.Context;
|
|
import android.os.Bundle;
|
|
import com.vungle.ads.ServiceLocator;
|
|
import com.vungle.ads.internal.executor.Executors;
|
|
import com.vungle.ads.internal.network.TpatSender;
|
|
import com.vungle.ads.internal.network.VungleApiClient;
|
|
import com.vungle.ads.internal.util.PathProvider;
|
|
import kotlin.Lazy;
|
|
import kotlin.LazyKt__LazyJVMKt;
|
|
import kotlin.LazyThreadSafetyMode;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class ResendTpatJob implements Job {
|
|
public static final Companion Companion = new Companion(null);
|
|
public static final String TAG = "ResendTpatJob";
|
|
private final Context context;
|
|
private final PathProvider pathProvider;
|
|
|
|
public final Context getContext() {
|
|
return this.context;
|
|
}
|
|
|
|
public final PathProvider getPathProvider() {
|
|
return this.pathProvider;
|
|
}
|
|
|
|
public ResendTpatJob(Context context, PathProvider pathProvider) {
|
|
Intrinsics.checkNotNullParameter(context, "context");
|
|
Intrinsics.checkNotNullParameter(pathProvider, "pathProvider");
|
|
this.context = context;
|
|
this.pathProvider = pathProvider;
|
|
}
|
|
|
|
/* renamed from: onRunJob$lambda-0, reason: not valid java name */
|
|
private static final VungleApiClient m3974onRunJob$lambda0(Lazy lazy) {
|
|
return (VungleApiClient) lazy.getValue();
|
|
}
|
|
|
|
@Override // com.vungle.ads.internal.task.Job
|
|
public int onRunJob(Bundle bundle, JobRunner jobRunner) {
|
|
Lazy lazy;
|
|
Lazy lazy2;
|
|
Intrinsics.checkNotNullParameter(bundle, "bundle");
|
|
Intrinsics.checkNotNullParameter(jobRunner, "jobRunner");
|
|
ServiceLocator.Companion companion = ServiceLocator.Companion;
|
|
final Context context = this.context;
|
|
LazyThreadSafetyMode lazyThreadSafetyMode = LazyThreadSafetyMode.SYNCHRONIZED;
|
|
lazy = LazyKt__LazyJVMKt.lazy(lazyThreadSafetyMode, new Function0() { // from class: com.vungle.ads.internal.task.ResendTpatJob$onRunJob$$inlined$inject$1
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
{
|
|
super(0);
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v2, types: [com.vungle.ads.internal.network.VungleApiClient, java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function0
|
|
public final VungleApiClient invoke() {
|
|
return ServiceLocator.Companion.getInstance(context).getService(VungleApiClient.class);
|
|
}
|
|
});
|
|
final Context context2 = this.context;
|
|
lazy2 = LazyKt__LazyJVMKt.lazy(lazyThreadSafetyMode, new Function0() { // from class: com.vungle.ads.internal.task.ResendTpatJob$onRunJob$$inlined$inject$2
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
{
|
|
super(0);
|
|
}
|
|
|
|
/* JADX WARN: Type inference failed for: r0v2, types: [com.vungle.ads.internal.executor.Executors, java.lang.Object] */
|
|
@Override // kotlin.jvm.functions.Function0
|
|
public final Executors invoke() {
|
|
return ServiceLocator.Companion.getInstance(context2).getService(Executors.class);
|
|
}
|
|
});
|
|
new TpatSender(m3974onRunJob$lambda0(lazy), null, null, null, m3975onRunJob$lambda1(lazy2).getIoExecutor(), this.pathProvider, null, 64, null).resendStoredTpats$vungle_ads_release(m3975onRunJob$lambda1(lazy2).getJobExecutor());
|
|
return 0;
|
|
}
|
|
|
|
/* renamed from: onRunJob$lambda-1, reason: not valid java name */
|
|
private static final Executors m3975onRunJob$lambda1(Lazy lazy) {
|
|
return (Executors) lazy.getValue();
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
public final JobInfo makeJobInfo() {
|
|
return new JobInfo(ResendTpatJob.TAG).setPriority(0).setUpdateCurrent(true);
|
|
}
|
|
}
|
|
}
|