2021-12-17 21:59:34 +00:00
|
|
|
package b.o.a.n;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
import androidx.annotation.Nullable;
|
2021-12-17 21:59:34 +00:00
|
|
|
import b.i.a.f.n.f;
|
|
|
|
import b.o.a.c;
|
2021-08-03 07:33:18 +00:00
|
|
|
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] */
|
2021-12-17 21:59:34 +00:00
|
|
|
@Override // b.i.a.f.n.f
|
2021-08-03 07:33:18 +00:00
|
|
|
@NonNull
|
|
|
|
public Task<Void> a(@Nullable c cVar) throws Exception {
|
|
|
|
c cVar2 = cVar;
|
|
|
|
if (cVar2 != null) {
|
2021-12-02 18:53:44 +00:00
|
|
|
CameraView.b bVar = (CameraView.b) this.a.m;
|
2021-12-17 21:59:34 +00:00
|
|
|
bVar.f3135b.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);
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
throw new RuntimeException("Null options!");
|
|
|
|
}
|
|
|
|
}
|