package ic; import android.app.Application; import bc.a; import com.meituan.robust.ChangeQuickRedirect; import com.meituan.robust.PatchProxy; import com.meituan.robust.PatchProxyResult; import com.shizhuang.duapp.libs.bpm.BM; import fd.n; import fo.c; import kotlin.jvm.internal.Intrinsics; import org.jetbrains.annotations.NotNull; import qc.f; /* compiled from: RestServitorTask.kt */ public final class h extends a { public static ChangeQuickRedirect changeQuickRedirect; public String n = "1e4e9a461f9b4fb09d6a4ae12c1eca83"; public h(@NotNull Application application) { super(application, "RestServitorTask", true); } @Override // dp.g public void i(@NotNull String str) { if (!PatchProxy.proxy(new Object[]{str}, this, changeQuickRedirect, false, 1524, new Class[]{String.class}, Void.TYPE).isSupported && !PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 1525, new Class[0], Void.TYPE).isSupported) { String b = vh.a.b(this.m); c l = fo.a.l(); if (l != null) { this.n = "1e4e9a461f9b4fb09d6a4ae12c1eca83"; if (f.i()) { this.n = "1e4e9a461f9b4fb09d6a4ae12c1eca83"; } else if (Intrinsics.areEqual("https://t1-app.dewu.net/", f.f())) { this.n = "0a5ff8ea18dc4e76bb707c4cfdc1a45c"; } else if (Intrinsics.areEqual("https://d2-app.dewu.net/", f.f())) { this.n = "88febb0de4b849b0ae34d465b3fd87dc"; } l.n(this.n); if (Intrinsics.areEqual(this.m.getPackageName(), b)) { int d = n.d("wireless_log_platform", "fileExpireTime", 604800000); int d12 = n.d("wireless_log_platform", "zipFileMaxSize", 100); Object[] objArr = {new Integer(d)}; ChangeQuickRedirect changeQuickRedirect2 = c.changeQuickRedirect; Class cls = Integer.TYPE; PatchProxyResult proxy = PatchProxy.proxy(objArr, l, changeQuickRedirect2, false, 33178, new Class[]{cls}, c.class); if (proxy.isSupported) { l = (c) proxy.result; } else { l.i = d; } PatchProxyResult proxy2 = PatchProxy.proxy(new Object[]{new Integer(d12)}, l, c.changeQuickRedirect, false, 33180, new Class[]{cls}, c.class); if (proxy2.isSupported) { c cVar = (c) proxy2.result; } else { l.j = d12; } } } fo.a.d(new ld.a()); try { fo.a.q("CommonParamLog"); } catch (Exception e) { BM.app().d(e, "app_launcher"); } } } }