what-the-bank/sources/com/huawei/hms/hwid/s.java

21 lines
656 B
Java

package com.huawei.hms.hwid;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class s extends am {
public static s a(String str) throws JSONException {
return new s().a(new JSONObject(str));
}
protected s a(JSONObject jSONObject) {
this.a = jSONObject.optString("appId", null);
this.b = jSONObject.optString(CommonConstant.ReqAccessTokenParam.PACKAGE_NAME, null);
this.c = jSONObject.optLong("hmsSdkVersion");
this.d = jSONObject.optString("subAppId", null);
return this;
}
}