MD5 校验值:7cd346351ab05a28e42aff65173e0141
k.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package h8; import com.crashlytics.android.beta.BuildConfig; import jxl.SheetSettings; import org.json.JSONObject; public class k implements v { private b b(JSONObject jSONObject) { return new b(jSONObject.optString("url", "https://e.crashlytics.com/spi/v2/events"), jSONObject.optInt("flush_interval_secs", 600), jSONObject.optInt("max_byte_size_per_file", io.fabric.sdk.android.services.events.b.MAX_BYTE_SIZE_PER_FILE), jSONObject.optInt("max_file_count_per_send", 1), jSONObject.optInt("max_pending_send_file_count", 100), jSONObject.optBoolean("forward_to_google_analytics", false), jSONObject.optBoolean("include_purchase_events_in_forwarded_events", false), jSONObject.optBoolean("track_custom_events", true), jSONObject.optBoolean("track_predefined_events", true), jSONObject.optInt("sampling_rate", 1), jSONObject.optBoolean("flush_on_background", true)); } private e c(JSONObject jSONObject) { return new e(jSONObject.getString("identifier"), jSONObject.getString("status"), jSONObject.getString("url"), jSONObject.getString("reports_url"), jSONObject.getString("ndk_reports_url"), jSONObject.optBoolean("update_required", false), (jSONObject.has("icon") && jSONObject.getJSONObject("icon").has("hash")) ? f(jSONObject.getJSONObject("icon")) : null); } private f d(JSONObject jSONObject) { return new f(jSONObject.optString("update_endpoint", u.f9020a), jSONObject.optInt("update_suspend_duration", 3600)); } private m e(JSONObject jSONObject) { return new m(jSONObject.optBoolean("prompt_enabled", false), jSONObject.optBoolean("collect_logged_exceptions", true), jSONObject.optBoolean("collect_reports", true), jSONObject.optBoolean("collect_analytics", false), jSONObject.optBoolean("firebase_crashlytics_enabled", false)); } private c f(JSONObject jSONObject) { return new c(jSONObject.getString("hash"), jSONObject.getInt("width"), jSONObject.getInt("height")); } private o g(JSONObject jSONObject) { return new o(jSONObject.optString("title", "Send Crash Report?"), jSONObject.optString("message", "Looks like we crashed! Please help us fix the problem by sending a crash report."), jSONObject.optString("send_button_title", "Send"), jSONObject.optBoolean("show_cancel_button", true), jSONObject.optString("cancel_button_title", "Don't Send"), jSONObject.optBoolean("show_always_send_button", true), jSONObject.optString("always_send_button_title", "Always Send")); } private p h(JSONObject jSONObject) { return new p(jSONObject.optInt("log_buffer_size", 64000), jSONObject.optInt("max_chained_exception_depth", 8), jSONObject.optInt("max_custom_exception_events", 64), jSONObject.optInt("max_custom_key_value_pairs", 64), jSONObject.optInt("identifier_mask", SheetSettings.DEFAULT_DEFAULT_ROW_HEIGHT), jSONObject.optBoolean("send_session_without_crash", false), jSONObject.optInt("max_complete_sessions_count", 4)); } private long i(io.fabric.sdk.android.services.common.k kVar, long j10, JSONObject jSONObject) { if (jSONObject.has("expires_at")) { return jSONObject.getLong("expires_at"); } return kVar.a() + (j10 * 1000); } @Override public t a(io.fabric.sdk.android.services.common.k kVar, JSONObject jSONObject) { int optInt = jSONObject.optInt("settings_version", 0); int optInt2 = jSONObject.optInt("cache_duration", 3600); return new t(i(kVar, optInt2, jSONObject), c(jSONObject.getJSONObject("app")), h(jSONObject.getJSONObject("session")), g(jSONObject.getJSONObject("prompt")), e(jSONObject.getJSONObject("features")), b(jSONObject.getJSONObject("analytics")), d(jSONObject.getJSONObject(BuildConfig.ARTIFACT_ID)), optInt, optInt2); } }