2021-08-09 22:50:52 +00:00
package c.i.c.k.d ;
import android.os.RemoteException ;
2021-10-11 07:48:45 +00:00
import c.c.a.a0.d ;
2021-08-09 22:50:52 +00:00
import c.i.a.f.e.h.j.p ;
2021-11-05 21:05:33 +00:00
import c.i.a.f.e.o.f ;
2021-08-09 22:50:52 +00:00
import c.i.a.f.h.k.g ;
import c.i.a.f.h.k.h ;
import com.google.android.gms.common.api.Status ;
import com.google.android.gms.tasks.TaskCompletionSource ;
/* compiled from: com.google.firebase:firebase-appindexing@@19.1.0 */
public abstract class e extends p < g , Void > implements c . i . a . f . e . h . j . e < Status > {
2021-09-07 07:54:21 +00:00
/* renamed from: c reason: collision with root package name */
2021-11-05 21:05:33 +00:00
public TaskCompletionSource < Void > f1325c ;
2021-08-09 22:50:52 +00:00
public e ( d dVar ) {
}
@Override // c.i.a.f.e.h.j.e
public void a ( Status status ) {
2021-11-05 21:05:33 +00:00
d . o ( ! status . w0 ( ) , " Failed result must not be success. " ) ;
TaskCompletionSource < Void > taskCompletionSource = this . f1325c ;
2021-11-08 08:23:34 +00:00
taskCompletionSource . a . s ( f . z1 ( status , status . p ) ) ;
2021-08-09 22:50:52 +00:00
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // c.i.a.f.e.h.j.e
public void b ( Status status ) {
Status status2 = status ;
2021-11-05 21:05:33 +00:00
if ( status2 . w0 ( ) ) {
this . f1325c . a . t ( null ) ;
2021-08-09 22:50:52 +00:00
return ;
}
2021-11-05 21:05:33 +00:00
TaskCompletionSource < Void > taskCompletionSource = this . f1325c ;
2021-11-08 08:23:34 +00:00
taskCompletionSource . a . s ( f . z1 ( status2 , " User Action indexing error, please try again. " ) ) ;
2021-08-09 22:50:52 +00:00
}
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [c.i.a.f.e.h.a$b, com.google.android.gms.tasks.TaskCompletionSource] */
@Override // c.i.a.f.e.h.j.p
public void c ( g gVar , TaskCompletionSource < Void > taskCompletionSource ) throws RemoteException {
2021-11-05 21:05:33 +00:00
this . f1325c = taskCompletionSource ;
2021-08-09 22:50:52 +00:00
d dVar = ( d ) this ;
2021-11-01 07:19:03 +00:00
gVar . w ( ) . T ( new h ( dVar ) , dVar . d ) ;
2021-08-09 22:50:52 +00:00
}
}