package c.o.a.n; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.i.a.f.n.f; import c.o.a.c; import com.google.android.gms.tasks.Task; import com.otaliastudios.cameraview.CameraView; /* compiled from: CameraEngine */ public class k implements f { 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 // c.i.a.f.n.f @NonNull public Task a(@Nullable c cVar) throws Exception { c cVar2 = cVar; if (cVar2 != null) { CameraView.b bVar = (CameraView.b) this.a.l; bVar.b.a(1, "dispatchOnCameraOpened", cVar2); CameraView.this.f2505s.post(new c.o.a.f(bVar, cVar2)); return c.i.a.f.e.o.f.R(null); } throw new RuntimeException("Null options!"); } }