32 lines
1.0 KiB
Java
32 lines
1.0 KiB
Java
package b.o.a.n;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import b.i.a.f.n.f;
|
|
import b.o.a.c;
|
|
import com.google.android.gms.tasks.Task;
|
|
import com.otaliastudios.cameraview.CameraView;
|
|
/* compiled from: CameraEngine */
|
|
public class k implements f<c, Void> {
|
|
public final /* synthetic */ i a;
|
|
|
|
public k(i iVar) {
|
|
this.a = iVar;
|
|
}
|
|
|
|
/* Return type fixed from 'com.google.android.gms.tasks.Task' to match base method */
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
@Override // b.i.a.f.n.f
|
|
@NonNull
|
|
public Task<Void> a(@Nullable c cVar) throws Exception {
|
|
c cVar2 = cVar;
|
|
if (cVar2 != null) {
|
|
CameraView.b bVar = (CameraView.b) this.a.m;
|
|
bVar.f3136b.a(1, "dispatchOnCameraOpened", cVar2);
|
|
CameraView.this.t.post(new b.o.a.f(bVar, cVar2));
|
|
return b.i.a.f.e.o.f.Y(null);
|
|
}
|
|
throw new RuntimeException("Null options!");
|
|
}
|
|
}
|