package com.huawei.hms.common.internal; import android.app.Activity; import com.huawei.hms.support.api.client.SubAppInfo; import com.huawei.hms.support.api.entity.auth.Scope; import java.lang.ref.WeakReference; import java.util.List; /* loaded from: classes2.dex */ public class ClientSettings { private String a; private String b; private List c; private String d; private List e; private String f; private SubAppInfo g; private WeakReference h; private boolean i; private String j; private boolean k; public ClientSettings(String str, String str2, List list, String str3, List list2) { this.a = str; this.b = str2; this.c = list; this.d = str3; this.e = list2; } public Activity getCpActivity() { WeakReference weakReference = this.h; if (weakReference == null) { return null; } return weakReference.get(); } public void setCpActivity(Activity activity) { this.h = new WeakReference<>(activity); this.i = true; } public ClientSettings(String str, String str2, List list, String str3, List list2, SubAppInfo subAppInfo) { this(str, str2, list, str3, list2); this.g = subAppInfo; } public void setUseInnerHms(boolean z) { this.k = z; } public void setSubAppId(SubAppInfo subAppInfo) { this.g = subAppInfo; } public void setScopes(List list) { this.c = list; } public void setInnerHmsPkg(String str) { this.j = str; } public void setCpID(String str) { this.f = str; } public void setClientPackageName(String str) { this.a = str; } public void setClientClassName(String str) { this.b = str; } public void setAppID(String str) { this.d = str; } public void setApiName(List list) { this.e = list; } public boolean isUseInnerHms() { return this.k; } public boolean isHasActivity() { return this.i; } public SubAppInfo getSubAppID() { return this.g; } public List getScopes() { return this.c; } public String getInnerHmsPkg() { return this.j; } public String getCpID() { return this.f; } public String getClientPackageName() { return this.a; } public String getClientClassName() { return this.b; } public String getAppID() { return this.d; } public List getApiName() { return this.e; } }