mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-13 09:27:16 +01:00
57 lines
2.2 KiB
Java
57 lines
2.2 KiB
Java
package com.google.android.finsky.externalreferrer;
|
|
|
|
import android.os.Bundle;
|
|
import android.os.IBinder;
|
|
import android.os.IInterface;
|
|
import android.os.Parcel;
|
|
import android.os.RemoteException;
|
|
import com.google.android.a.a;
|
|
import com.google.android.a.b;
|
|
import com.google.android.a.c;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes7.dex */
|
|
public interface IGetInstallReferrerService extends IInterface {
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
public static abstract class Stub extends b implements IGetInstallReferrerService {
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
public static class Proxy extends a implements IGetInstallReferrerService {
|
|
public Proxy(IBinder iBinder) {
|
|
super(iBinder);
|
|
}
|
|
|
|
@Override // com.google.android.finsky.externalreferrer.IGetInstallReferrerService
|
|
public final Bundle c(Bundle bundle) throws RemoteException {
|
|
Parcel a2 = a();
|
|
c.b(a2, bundle);
|
|
Parcel b = b(a2);
|
|
Bundle bundle2 = (Bundle) c.a(b, Bundle.CREATOR);
|
|
b.recycle();
|
|
return bundle2;
|
|
}
|
|
}
|
|
|
|
public static IGetInstallReferrerService b(IBinder iBinder) {
|
|
if (iBinder == null) {
|
|
return null;
|
|
}
|
|
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.finsky.externalreferrer.IGetInstallReferrerService");
|
|
return queryLocalInterface instanceof IGetInstallReferrerService ? (IGetInstallReferrerService) queryLocalInterface : new Proxy(iBinder);
|
|
}
|
|
|
|
@Override // com.google.android.a.b
|
|
public final boolean a(int i, Parcel parcel, Parcel parcel2) throws RemoteException {
|
|
if (i != 1) {
|
|
return false;
|
|
}
|
|
Bundle c = c((Bundle) c.a(parcel, Bundle.CREATOR));
|
|
parcel2.writeNoException();
|
|
c.c(parcel2, c);
|
|
return true;
|
|
}
|
|
}
|
|
|
|
Bundle c(Bundle bundle) throws RemoteException;
|
|
}
|