- 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
41 lines
1.7 KiB
Java
41 lines
1.7 KiB
Java
package androidx.work.impl.utils;
|
|
|
|
import androidx.work.Configuration;
|
|
import androidx.work.Operation;
|
|
import androidx.work.OperationKt;
|
|
import androidx.work.Tracer;
|
|
import androidx.work.impl.WorkDatabase;
|
|
import androidx.work.impl.utils.taskexecutor.SerialExecutor;
|
|
import androidx.work.impl.utils.taskexecutor.TaskExecutor;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class PruneWorkRunnableKt {
|
|
public static final Operation pruneWork(final WorkDatabase workDatabase, Configuration configuration, TaskExecutor executor) {
|
|
Intrinsics.checkNotNullParameter(workDatabase, "<this>");
|
|
Intrinsics.checkNotNullParameter(configuration, "configuration");
|
|
Intrinsics.checkNotNullParameter(executor, "executor");
|
|
Tracer tracer = configuration.getTracer();
|
|
SerialExecutor serialTaskExecutor = executor.getSerialTaskExecutor();
|
|
Intrinsics.checkNotNullExpressionValue(serialTaskExecutor, "executor.serialTaskExecutor");
|
|
return OperationKt.launchOperation(tracer, "PruneWork", serialTaskExecutor, new Function0() { // from class: androidx.work.impl.utils.PruneWorkRunnableKt$pruneWork$1
|
|
{
|
|
super(0);
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
public /* bridge */ /* synthetic */ Object invoke() {
|
|
m202invoke();
|
|
return Unit.INSTANCE;
|
|
}
|
|
|
|
/* renamed from: invoke, reason: collision with other method in class */
|
|
public final void m202invoke() {
|
|
WorkDatabase.this.workSpecDao().pruneFinishedWorkWithZeroDependentsIgnoringKeepForAtLeast();
|
|
}
|
|
});
|
|
}
|
|
}
|