- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
39 lines
1.6 KiB
Java
39 lines
1.6 KiB
Java
package kotlinx.coroutines;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class JobImpl extends JobSupport implements CompletableJob {
|
|
public final boolean handlesException;
|
|
|
|
@Override // kotlinx.coroutines.JobSupport
|
|
public boolean getHandlesException$kotlinx_coroutines_core() {
|
|
return this.handlesException;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.JobSupport
|
|
public boolean getOnCancelComplete$kotlinx_coroutines_core() {
|
|
return true;
|
|
}
|
|
|
|
public JobImpl(Job job) {
|
|
super(true);
|
|
initParentJob(job);
|
|
this.handlesException = handlesException();
|
|
}
|
|
|
|
public final boolean handlesException() {
|
|
JobSupport job;
|
|
ChildHandle parentHandle$kotlinx_coroutines_core = getParentHandle$kotlinx_coroutines_core();
|
|
ChildHandleNode childHandleNode = parentHandle$kotlinx_coroutines_core instanceof ChildHandleNode ? (ChildHandleNode) parentHandle$kotlinx_coroutines_core : null;
|
|
if (childHandleNode != null && (job = childHandleNode.getJob()) != null) {
|
|
while (!job.getHandlesException$kotlinx_coroutines_core()) {
|
|
ChildHandle parentHandle$kotlinx_coroutines_core2 = job.getParentHandle$kotlinx_coroutines_core();
|
|
ChildHandleNode childHandleNode2 = parentHandle$kotlinx_coroutines_core2 instanceof ChildHandleNode ? (ChildHandleNode) parentHandle$kotlinx_coroutines_core2 : null;
|
|
if (childHandleNode2 != null && (job = childHandleNode2.getJob()) != null) {
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
}
|