Initial version -- added millennium read funcionality
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
||||
/* JADX INFO: loaded from: classes2.dex */
|
||||
public class zza implements IInterface {
|
||||
private final IBinder zza;
|
||||
private final String zzb;
|
||||
|
||||
protected zza(IBinder iBinder, String str) {
|
||||
this.zza = iBinder;
|
||||
this.zzb = str;
|
||||
}
|
||||
|
||||
@Override // android.os.IInterface
|
||||
public final IBinder asBinder() {
|
||||
return this.zza;
|
||||
}
|
||||
|
||||
protected final Parcel zzB(int i, Parcel parcel) throws RemoteException {
|
||||
Parcel parcelObtain = Parcel.obtain();
|
||||
try {
|
||||
try {
|
||||
this.zza.transact(i, parcel, parcelObtain, 0);
|
||||
parcelObtain.readException();
|
||||
return parcelObtain;
|
||||
} catch (RuntimeException e) {
|
||||
parcelObtain.recycle();
|
||||
throw e;
|
||||
}
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
protected final void zzC(int i, Parcel parcel) throws RemoteException {
|
||||
Parcel parcelObtain = Parcel.obtain();
|
||||
try {
|
||||
this.zza.transact(1, parcel, parcelObtain, 0);
|
||||
parcelObtain.readException();
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
parcelObtain.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
protected final void zzD(int i, Parcel parcel) throws RemoteException {
|
||||
try {
|
||||
this.zza.transact(2, parcel, null, 1);
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
protected final Parcel zza() {
|
||||
Parcel parcelObtain = Parcel.obtain();
|
||||
parcelObtain.writeInterfaceToken(this.zzb);
|
||||
return parcelObtain;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user