package com.kofax.mobile.sdk.y; import bolts.Continuation; import bolts.Task; import com.kofax.BuildConfig; import o.gjZ; /* loaded from: classes3.dex */ public class v { /* loaded from: classes3.dex */ public interface a { T run(); } public T a(String str, a aVar) { gjZ gjz = new gjZ(); try { gjz.a(); return aVar.run(); } finally { gjz.e(); StringBuilder sb = new StringBuilder(); sb.append(str); sb.append(": "); sb.append(gjz.toString()); com.kofax.mobile.sdk._internal.k.b(BuildConfig.TIMING_TAG, sb.toString()); } } public Task a(String str, Task task) { return task.continueWithTask(new Continuation>(this, gjZ.d(), str) { // from class: com.kofax.mobile.sdk.y.v.1 final gjZ SC; final String SD; final v SE; { this.SE = this; this.SC = r2; this.SD = str; } /* renamed from: then, reason: merged with bridge method [inline-methods] */ public Task m324then(Task task2) throws Exception { this.SC.e(); StringBuilder sb = new StringBuilder(); sb.append(this.SD); sb.append(": "); sb.append(this.SC); com.kofax.mobile.sdk._internal.k.b(BuildConfig.TIMING_TAG, sb.toString()); return task2; } }); } }