- 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
42 lines
1.4 KiB
Java
42 lines
1.4 KiB
Java
package com.vungle.ads.internal.task;
|
|
|
|
import android.content.Context;
|
|
import com.vungle.ads.internal.util.PathProvider;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class VungleJobCreator implements JobCreator {
|
|
private final Context context;
|
|
private final PathProvider pathProvider;
|
|
|
|
public final Context getContext() {
|
|
return this.context;
|
|
}
|
|
|
|
public final PathProvider getPathProvider() {
|
|
return this.pathProvider;
|
|
}
|
|
|
|
public VungleJobCreator(Context context, PathProvider pathProvider) {
|
|
Intrinsics.checkNotNullParameter(context, "context");
|
|
Intrinsics.checkNotNullParameter(pathProvider, "pathProvider");
|
|
this.context = context;
|
|
this.pathProvider = pathProvider;
|
|
}
|
|
|
|
@Override // com.vungle.ads.internal.task.JobCreator
|
|
public Job create(String tag) throws UnknownTagException {
|
|
Intrinsics.checkNotNullParameter(tag, "tag");
|
|
if (tag.length() == 0) {
|
|
throw new UnknownTagException("Job tag is null");
|
|
}
|
|
if (Intrinsics.areEqual(tag, CleanupJob.TAG)) {
|
|
return new CleanupJob(this.context, this.pathProvider);
|
|
}
|
|
if (Intrinsics.areEqual(tag, ResendTpatJob.TAG)) {
|
|
return new ResendTpatJob(this.context, this.pathProvider);
|
|
}
|
|
throw new UnknownTagException("Unknown Job Type " + tag);
|
|
}
|
|
}
|