package a8;

import android.accounts.Account;
import androidx.annotation.Nullable;
import com.google.android.gms.auth.api.signin.GoogleSignInOptions;
import com.google.android.gms.common.api.Scope;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;

/* JADX INFO: loaded from: classes2.dex */
public final class a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final HashSet f396a = new HashSet();

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final HashMap f397b = new HashMap();

    @Nullable
    private String zae;

    @Nullable
    private Account zaf;

    @Nullable
    private String zag;

    @Nullable
    private String zai;

    public final void a() {
        HashSet hashSet = this.f396a;
        if (hashSet.contains(GoogleSignInOptions.f8172i)) {
            Scope scope = GoogleSignInOptions.f8171h;
            if (hashSet.contains(scope)) {
                hashSet.remove(scope);
            }
        }
        new GoogleSignInOptions(new ArrayList(hashSet), this.zaf, this.zae, this.zag, this.f397b, this.zai);
    }
}
