MD5 校验值:7cd346351ab05a28e42aff65173e0141
h.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package y5; import java.util.Locale; import org.json.JSONObject; import r5.q; class h implements g { private static z5.a b(JSONObject jSONObject, JSONObject jSONObject2) { String string = jSONObject2.getString("status"); boolean equals = "new".equals(string); String string2 = jSONObject.getString("bundle_id"); String string3 = jSONObject.getString("org_id"); String format = equals ? "https://update.crashlytics.com/spi/v1/platforms/android/apps" : String.format(Locale.US, "https://update.crashlytics.com/spi/v1/platforms/android/apps/%s", string2); Locale locale = Locale.US; return new z5.a(string, format, String.format(locale, "https://reports.crashlytics.com/spi/v1/platforms/android/apps/%s/reports", string2), String.format(locale, "https://reports.crashlytics.com/sdk-api/v1/platforms/android/apps/%s/minidumps", string2), string2, string3, jSONObject2.optBoolean("update_required", false), jSONObject2.optInt("report_upload_variant", 0), jSONObject2.optInt("native_report_upload_variant", 0)); } private static z5.b c(JSONObject jSONObject) { return new z5.b(jSONObject.optBoolean("collect_reports", true), jSONObject.optBoolean("collect_anrs", false)); } private static z5.c d() { return new z5.c(8, 4); } private static long e(q qVar, long j10, JSONObject jSONObject) { if (jSONObject.has("expires_at")) { return jSONObject.optLong("expires_at"); } return qVar.a() + (j10 * 1000); } @Override public z5.e a(q qVar, JSONObject jSONObject) { int optInt = jSONObject.optInt("settings_version", 0); int optInt2 = jSONObject.optInt("cache_duration", 3600); return new z5.e(e(qVar, optInt2, jSONObject), b(jSONObject.getJSONObject("fabric"), jSONObject.getJSONObject("app")), d(), c(jSONObject.getJSONObject("features")), optInt, optInt2); } }