38 lines
1.5 KiB
Java
38 lines
1.5 KiB
Java
|
package com.google.android.gms.internal.vision;
|
||
|
|
||
|
import android.os.IBinder;
|
||
|
import android.os.IInterface;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.RemoteException;
|
||
|
import com.google.android.gms.dynamic.IObjectWrapper;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzk extends zza implements zzj {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzk(IBinder iBinder) {
|
||
|
super(iBinder, "com.google.android.gms.vision.barcode.internal.client.INativeBarcodeDetectorCreator");
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.vision.zzj
|
||
|
public final zzh zza(IObjectWrapper iObjectWrapper, zze zzeVar) throws RemoteException {
|
||
|
zzh zziVar;
|
||
|
Parcel obtainAndWriteInterfaceToken = obtainAndWriteInterfaceToken();
|
||
|
zzc.zza(obtainAndWriteInterfaceToken, iObjectWrapper);
|
||
|
zzc.zza(obtainAndWriteInterfaceToken, zzeVar);
|
||
|
Parcel zza = zza(1, obtainAndWriteInterfaceToken);
|
||
|
IBinder readStrongBinder = zza.readStrongBinder();
|
||
|
if (readStrongBinder == null) {
|
||
|
zziVar = null;
|
||
|
} else {
|
||
|
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.vision.barcode.internal.client.INativeBarcodeDetector");
|
||
|
if (queryLocalInterface instanceof zzh) {
|
||
|
zziVar = (zzh) queryLocalInterface;
|
||
|
} else {
|
||
|
zziVar = new zzi(readStrongBinder);
|
||
|
}
|
||
|
}
|
||
|
zza.recycle();
|
||
|
return zziVar;
|
||
|
}
|
||
|
}
|