CrackMe.apk
Download file
package com.google.android.gms.common.api.internal;
import com.google.android.gms.common.Feature;
import com.google.android.gms.common.api.Api;
import com.google.android.gms.common.api.Api.AnyClient;
import com.google.android.gms.common.api.internal.ListenerHolder;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.tasks.TaskCompletionSource;
/* compiled from: com.google.android.gms:play-services-base@@18.0.1 */
public class RegistrationMethods<A extends Api.AnyClient, L> {
public final RegisterListenerMethod<A, L> register;
public final UnregisterListenerMethod<A, L> zaa;
public final Runnable zab;
/* compiled from: com.google.android.gms:play-services-base@@18.0.1 */
public static class Builder<A extends Api.AnyClient, L> {
/* access modifiers changed from: private */
public RemoteCall<A, TaskCompletionSource<Void>> zaa;
/* access modifiers changed from: private */
public RemoteCall<A, TaskCompletionSource<Boolean>> zab;
private Runnable zac = zacj.zaa;
private ListenerHolder<L> zad;
private Feature[] zae;
private boolean zaf = true;
private int zag;
private Builder() {
}
/* synthetic */ Builder(zacm zacm) {
}
public RegistrationMethods<A, L> build() {
boolean z = true;
Preconditions.checkArgument(this.zaa != null, "Must set register function");
Preconditions.checkArgument(this.zab != null, "Must set unregister function");
if (this.zad == null) {
z = false;
}
Preconditions.checkArgument(z, "Must set holder");
return new RegistrationMethods<>(new zack(this, this.zad, this.zae, this.zaf, this.zag), new zacl(this, (ListenerHolder.ListenerKey) Preconditions.checkNotNull(this.zad.getListenerKey(), "Key must not be null")), this.zac, (zacn) null);
}
public Builder<A, L> onConnectionSuspended(Runnable runnable) {
this.zac = runnable;
return this;
}
public Builder<A, L> register(RemoteCall<A, TaskCompletionSource<Void>> remoteCall) {
this.zaa = remoteCall;
return this;
}
public Builder<A, L> setAutoResolveMissingFeatures(boolean z) {
this.zaf = z;
return this;
}
public Builder<A, L> setFeatures(Feature... featureArr) {
this.zae = featureArr;
return this;
}
public Builder<A, L> setMethodKey(int i) {
this.zag = i;
return this;
}
public Builder<A, L> unregister(RemoteCall<A, TaskCompletionSource<Boolean>> remoteCall) {
this.zab = remoteCall;
return this;
}
public Builder<A, L> withHolder(ListenerHolder<L> listenerHolder) {
this.zad = listenerHolder;
return this;
}
}
/* synthetic */ RegistrationMethods(RegisterListenerMethod registerListenerMethod, UnregisterListenerMethod unregisterListenerMethod, Runnable runnable, zacn zacn) {
this.register = registerListenerMethod;
this.zaa = unregisterListenerMethod;
this.zab = runnable;
}
public static <A extends Api.AnyClient, L> Builder<A, L> builder() {
return new Builder<>((zacm) null);
}
}
Download file