Initial commit
This commit is contained in:
44
sources/com/google/android/gms/internal/common/zza.java
Normal file
44
sources/com/google/android/gms/internal/common/zza.java
Normal file
@@ -0,0 +1,44 @@
|
||||
package com.google.android.gms.internal.common;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.os.IInterface;
|
||||
import android.os.Parcel;
|
||||
import android.os.RemoteException;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class zza implements IInterface {
|
||||
private final IBinder a;
|
||||
private final String b;
|
||||
|
||||
protected zza(IBinder iBinder, String str) {
|
||||
this.a = iBinder;
|
||||
this.b = str;
|
||||
}
|
||||
|
||||
protected final Parcel a(int i, Parcel parcel) throws RemoteException {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
try {
|
||||
try {
|
||||
this.a.transact(i, parcel, obtain, 0);
|
||||
obtain.readException();
|
||||
return obtain;
|
||||
} catch (RuntimeException e) {
|
||||
obtain.recycle();
|
||||
throw e;
|
||||
}
|
||||
} finally {
|
||||
parcel.recycle();
|
||||
}
|
||||
}
|
||||
|
||||
@Override // android.os.IInterface
|
||||
public IBinder asBinder() {
|
||||
return this.a;
|
||||
}
|
||||
|
||||
protected final Parcel i() {
|
||||
Parcel obtain = Parcel.obtain();
|
||||
obtain.writeInterfaceToken(this.b);
|
||||
return obtain;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user