66 lines
2.1 KiB
Java
66 lines
2.1 KiB
Java
package c.i.a.f.e.k;
|
|
|
|
import android.accounts.Account;
|
|
import android.content.Context;
|
|
import android.os.IInterface;
|
|
import android.os.Looper;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import c.i.a.f.e.h.a;
|
|
import c.i.a.f.e.h.j.f;
|
|
import c.i.a.f.e.h.j.l;
|
|
import com.google.android.gms.common.GoogleApiAvailability;
|
|
import com.google.android.gms.common.api.Scope;
|
|
import java.util.Collections;
|
|
import java.util.Objects;
|
|
import java.util.Set;
|
|
/* compiled from: com.google.android.gms:play-services-base@@17.3.0 */
|
|
public abstract class d<T extends IInterface> extends b<T> implements a.f {
|
|
|
|
/* renamed from: x reason: collision with root package name */
|
|
public final c f1064x;
|
|
|
|
/* renamed from: y reason: collision with root package name */
|
|
public final Set<Scope> f1065y;
|
|
@Nullable
|
|
|
|
/* renamed from: z reason: collision with root package name */
|
|
public final Account f1066z;
|
|
|
|
/* JADX WARNING: Illegal instructions before constructor call */
|
|
public d(Context context, Looper looper, int i, c cVar, f fVar, l lVar) {
|
|
super(context, looper, r3, r4, i, new r(fVar), new q(lVar), cVar.f);
|
|
e a = e.a(context);
|
|
Object obj = GoogleApiAvailability.f2364c;
|
|
GoogleApiAvailability googleApiAvailability = GoogleApiAvailability.d;
|
|
Objects.requireNonNull(fVar, "null reference");
|
|
Objects.requireNonNull(lVar, "null reference");
|
|
this.f1064x = cVar;
|
|
this.f1066z = cVar.a;
|
|
Set<Scope> set = cVar.f1062c;
|
|
for (Scope scope : set) {
|
|
if (!set.contains(scope)) {
|
|
throw new IllegalStateException("Expanding scopes is not permitted, use implied scopes instead");
|
|
}
|
|
}
|
|
this.f1065y = set;
|
|
}
|
|
|
|
@Override // c.i.a.f.e.h.a.f
|
|
@NonNull
|
|
public Set<Scope> a() {
|
|
return o() ? this.f1065y : Collections.emptySet();
|
|
}
|
|
|
|
@Override // c.i.a.f.e.k.b
|
|
@Nullable
|
|
public final Account s() {
|
|
return this.f1066z;
|
|
}
|
|
|
|
@Override // c.i.a.f.e.k.b
|
|
public final Set<Scope> v() {
|
|
return this.f1065y;
|
|
}
|
|
}
|