Files
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

45 lines
1.7 KiB
Java

package androidx.work.impl.utils;
import androidx.annotation.RestrictTo;
import androidx.work.Logger;
import androidx.work.WorkInfo;
import androidx.work.impl.Processor;
import androidx.work.impl.StartStopToken;
import kotlin.jvm.internal.Intrinsics;
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
/* loaded from: classes.dex */
public final class StopWorkRunnable implements Runnable {
private final Processor processor;
private final int reason;
private final boolean stopInForeground;
private final StartStopToken token;
public StopWorkRunnable(Processor processor, StartStopToken token, boolean z, int i) {
Intrinsics.checkNotNullParameter(processor, "processor");
Intrinsics.checkNotNullParameter(token, "token");
this.processor = processor;
this.token = token;
this.stopInForeground = z;
this.reason = i;
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public StopWorkRunnable(Processor processor, StartStopToken token, boolean z) {
this(processor, token, z, WorkInfo.STOP_REASON_UNKNOWN);
Intrinsics.checkNotNullParameter(processor, "processor");
Intrinsics.checkNotNullParameter(token, "token");
}
@Override // java.lang.Runnable
public void run() {
boolean stopWork;
if (this.stopInForeground) {
stopWork = this.processor.stopForegroundWork(this.token, this.reason);
} else {
stopWork = this.processor.stopWork(this.token, this.reason);
}
Logger.get().debug(Logger.tagWithPrefix("StopWorkRunnable"), "StopWorkRunnable for " + this.token.getId().getWorkSpecId() + "; Processor.stopWork = " + stopWork);
}
}