MD5 校验值:c9acc583577d8b1a394e7959c947bec3
b.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package com.applovin.impl.mediation.debugger.c; import android.text.TextUtils; import com.applovin.impl.mediation.debugger.a; import com.applovin.impl.sdk.e.u; import com.applovin.impl.sdk.n; import com.applovin.impl.sdk.network.c; import com.applovin.impl.sdk.v; import com.gun0912.tedpermission.TedPermissionActivity; import java.util.regex.Matcher; import java.util.regex.Pattern; public class b extends com.applovin.impl.sdk.e.a { private final a a; public interface a { void a(a.b bVar); void a(String str); } public b(n nVar, a aVar) { super("TaskFetchDeveloperUri", nVar); this.a = aVar; } @Override public void run() { String valueOf = String.valueOf(this.f.Y().h().get(TedPermissionActivity.EXTRA_PACKAGE_NAME)); v vVar = this.h; if (v.a()) { this.h.b(this.g, "Looking up developer URI for package name: " + valueOf); } this.f.V().a((com.applovin.impl.sdk.e.a) new u<String>(com.applovin.impl.sdk.network.c.a(this.f).b("GET").a("https://play.google.com/store/apps/details?id=" + valueOf).a((c.a) "").c(false).a(), this.f) { @Override public void a(int i, String str, String str2) { v vVar2 = this.h; if (v.a()) { this.h.e(this.g, "Unable to fetch developer URI due to: " + str + ", and received error code: " + i); } b.this.a.a(a.b.DEVELOPER_URI_NOT_FOUND); } @Override public void a(String str, int i) { if (TextUtils.isEmpty(str)) { v vVar2 = this.h; if (v.a()) { this.h.e(this.g, "No developer URI found - response is empty"); } b.this.a.a(a.b.DEVELOPER_URI_NOT_FOUND); } Matcher matcher = Pattern.compile("(?<=\"appstore:developer_url\" content=\").+?(?=\">)").matcher(str); if (!matcher.find()) { v vVar3 = this.h; if (v.a()) { this.h.e(this.g, "Unable to find developer URI from the Play Store listing metadata"); } b.this.a.a(a.b.DEVELOPER_URI_NOT_FOUND); return; } String group = matcher.group(); v vVar4 = this.h; if (v.a()) { this.h.b(this.g, "Found developer URI: " + group); } b.this.a.a(group); } }); } }