Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package androidx.work.impl.utils.taskexecutor;
import java.util.concurrent.Executor;
/* loaded from: classes.dex */
public interface SerialExecutor extends Executor {
boolean hasPendingTasks();
}

View File

@@ -0,0 +1,26 @@
package androidx.work.impl.utils.taskexecutor;
import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo;
import java.util.concurrent.Executor;
import kotlinx.coroutines.CoroutineDispatcher;
import kotlinx.coroutines.ExecutorsKt;
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
/* loaded from: classes.dex */
public interface TaskExecutor {
@NonNull
Executor getMainThreadExecutor();
@NonNull
SerialExecutor getSerialTaskExecutor();
default void executeOnTaskThread(@NonNull Runnable runnable) {
getSerialTaskExecutor().execute(runnable);
}
@NonNull
default CoroutineDispatcher getTaskCoroutineDispatcher() {
return ExecutorsKt.from(getSerialTaskExecutor());
}
}

View File

@@ -0,0 +1,48 @@
package androidx.work.impl.utils.taskexecutor;
import android.os.Handler;
import android.os.Looper;
import androidx.annotation.NonNull;
import androidx.annotation.RestrictTo;
import androidx.work.impl.utils.SerialExecutorImpl;
import java.util.concurrent.Executor;
import kotlinx.coroutines.CoroutineDispatcher;
import kotlinx.coroutines.ExecutorsKt;
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
/* loaded from: classes.dex */
public class WorkManagerTaskExecutor implements TaskExecutor {
private final SerialExecutorImpl mBackgroundExecutor;
private final CoroutineDispatcher mTaskDispatcher;
final Handler mMainThreadHandler = new Handler(Looper.getMainLooper());
private final Executor mMainThreadExecutor = new Executor() { // from class: androidx.work.impl.utils.taskexecutor.WorkManagerTaskExecutor.1
@Override // java.util.concurrent.Executor
public void execute(@NonNull Runnable runnable) {
WorkManagerTaskExecutor.this.mMainThreadHandler.post(runnable);
}
};
@Override // androidx.work.impl.utils.taskexecutor.TaskExecutor
@NonNull
public Executor getMainThreadExecutor() {
return this.mMainThreadExecutor;
}
@Override // androidx.work.impl.utils.taskexecutor.TaskExecutor
@NonNull
public SerialExecutorImpl getSerialTaskExecutor() {
return this.mBackgroundExecutor;
}
@Override // androidx.work.impl.utils.taskexecutor.TaskExecutor
@NonNull
public CoroutineDispatcher getTaskCoroutineDispatcher() {
return this.mTaskDispatcher;
}
public WorkManagerTaskExecutor(@NonNull Executor executor) {
SerialExecutorImpl serialExecutorImpl = new SerialExecutorImpl(executor);
this.mBackgroundExecutor = serialExecutorImpl;
this.mTaskDispatcher = ExecutorsKt.from(serialExecutorImpl);
}
}

View File

@@ -0,0 +1,5 @@
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
package androidx.work.impl.utils.taskexecutor;
import androidx.annotation.RestrictTo;