45 lines
1.1 KiB
Java
45 lines
1.1 KiB
Java
package c.o.a.n.v;
|
|
|
|
import c.o.a.n.i;
|
|
import c.o.a.n.v.a;
|
|
import c.o.a.r.g;
|
|
import java.util.Iterator;
|
|
/* compiled from: CameraOrchestrator */
|
|
public class b implements Runnable {
|
|
public final /* synthetic */ a i;
|
|
|
|
public b(a aVar) {
|
|
this.i = aVar;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
a.c<?> cVar;
|
|
synchronized (this.i.e) {
|
|
cVar = null;
|
|
if (!this.i.d) {
|
|
long currentTimeMillis = System.currentTimeMillis();
|
|
Iterator<a.c<?>> it = this.i.f1497c.iterator();
|
|
while (true) {
|
|
if (!it.hasNext()) {
|
|
break;
|
|
}
|
|
a.c<?> next = it.next();
|
|
if (next.e <= currentTimeMillis) {
|
|
cVar = next;
|
|
break;
|
|
}
|
|
}
|
|
if (cVar != null) {
|
|
this.i.d = true;
|
|
}
|
|
}
|
|
}
|
|
if (cVar != null) {
|
|
a aVar = this.i;
|
|
g gVar = i.this.j;
|
|
gVar.c(new c(aVar, cVar, gVar));
|
|
}
|
|
}
|
|
}
|