Files
rr3-apk/decompiled/sources/com/digitalturbine/ignite/authenticator/parsers/a.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

41 lines
1.8 KiB
Java

package com.digitalturbine.ignite.authenticator.parsers;
import org.json.JSONArray;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public abstract class a {
public static com.digitalturbine.ignite.authenticator.entities.a a(JSONObject jSONObject) {
JSONObject optJSONObject;
JSONArray optJSONArray;
String str = "";
boolean z = false;
try {
if (jSONObject.has("data") && (optJSONObject = jSONObject.optJSONObject("data")) != null) {
String optString = optJSONObject.optString("igniteVersion", "");
try {
if (optJSONObject.has("features") && (optJSONArray = optJSONObject.optJSONArray("features")) != null) {
for (int length = optJSONArray.length() - 1; length >= 0; length--) {
JSONObject optJSONObject2 = optJSONArray.optJSONObject(length);
if (optJSONObject2.has("type") && "GET_PROPERTY".equalsIgnoreCase(optJSONObject2.optString("type", ""))) {
str = optString;
z = true;
break;
}
}
}
str = optString;
} catch (Exception e) {
e = e;
str = optString;
com.digitalturbine.ignite.authenticator.logger.a.b("IgniteVersionParser: exception on parse: %s", e.getMessage());
return new com.digitalturbine.ignite.authenticator.entities.a(z, str);
}
}
} catch (Exception e2) {
e = e2;
}
return new com.digitalturbine.ignite.authenticator.entities.a(z, str);
}
}