MD5 校验值:9a3607a8b6a643c932183399cb0ea25c
ActivityC0859k.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package b; import G1.C0551u; import G1.F; import G5.C0563g; import android.app.Activity; import android.app.Application; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.content.res.Configuration; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.os.SystemClock; import android.os.Trace; import android.text.TextUtils; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.view.ViewTreeObserver; import android.window.OnBackInvokedDispatcher; import androidx.lifecycle.AbstractC0823k; import androidx.lifecycle.C0830s; import androidx.lifecycle.E; import androidx.lifecycle.InterfaceC0820h; import androidx.lifecycle.InterfaceC0828p; import androidx.lifecycle.J; import androidx.lifecycle.M; import androidx.lifecycle.W; import androidx.lifecycle.X; import androidx.lifecycle.Y; import androidx.lifecycle.Z; import androidx.lifecycle.a0; import b.ActivityC0859k; import c2.C0922a; import com.sspai.cuto.android.R; import d.C1030a; import d.InterfaceC1031b; import e.AbstractC1061c; import e.AbstractC1063e; import e.C1068j; import e.InterfaceC1060b; import e.InterfaceC1067i; import e5.C1091n; import e5.C1102y; import f.AbstractC1108a; import f1.C1123a; import g1.InterfaceC1197c; import g1.InterfaceC1198d; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedHashMap; import java.util.concurrent.CopyOnWriteArrayList; import java.util.concurrent.Executor; import java.util.concurrent.atomic.AtomicInteger; import p1.InterfaceC1590a; import q1.C1643n; import q1.InterfaceC1642m; import q1.InterfaceC1645p; import r5.InterfaceC1714a; public class ActivityC0859k extends f1.j implements Y, InterfaceC0820h, X1.d, InterfaceC0846E, InterfaceC1067i, InterfaceC1197c, InterfaceC1198d, f1.t, f1.u, InterfaceC1642m { public static final int f12484A = 0; public final C1030a f12485i = new C1030a(); public final C1643n f12486j = new C1643n(new RunnableC0853e(this, 0)); public final X1.c f12487k; public X f12488l; public final d f12489m; public final C1091n f12490n; public final AtomicInteger f12491o; public final e f12492p; public final CopyOnWriteArrayList<InterfaceC1590a<Configuration>> f12493q; public final CopyOnWriteArrayList<InterfaceC1590a<Integer>> f12494r; public final CopyOnWriteArrayList<InterfaceC1590a<Intent>> f12495s; public final CopyOnWriteArrayList<InterfaceC1590a<f1.k>> f12496t; public final CopyOnWriteArrayList<InterfaceC1590a<f1.w>> f12497u; public final CopyOnWriteArrayList<Runnable> f12498v; public boolean f12499w; public boolean f12500x; public final C1091n f12501y; public final C1091n f12502z; public static final class a implements InterfaceC0828p { public a() { } @Override public final void g(androidx.lifecycle.r rVar, AbstractC0823k.a aVar) { ActivityC0859k activityC0859k = ActivityC0859k.this; if (activityC0859k.f12488l == null) { c cVar = (c) activityC0859k.getLastNonConfigurationInstance(); if (cVar != null) { activityC0859k.f12488l = cVar.f12505a; } if (activityC0859k.f12488l == null) { activityC0859k.f12488l = new X(); } } activityC0859k.f14975h.c(this); } } public static final class b { public static final b f12504a = new Object(); public final OnBackInvokedDispatcher a(Activity activity) { kotlin.jvm.internal.l.f(activity, "activity"); OnBackInvokedDispatcher onBackInvokedDispatcher = activity.getOnBackInvokedDispatcher(); kotlin.jvm.internal.l.e(onBackInvokedDispatcher, "activity.getOnBackInvokedDispatcher()"); return onBackInvokedDispatcher; } } public static final class c { public X f12505a; } public final class d implements Executor, ViewTreeObserver.OnDrawListener, Runnable { public final long f12506h = SystemClock.uptimeMillis() + 10000; public Runnable f12507i; public boolean f12508j; public d() { } public final void a() { ActivityC0859k activityC0859k = ActivityC0859k.this; activityC0859k.getWindow().getDecorView().removeCallbacks(this); activityC0859k.getWindow().getDecorView().getViewTreeObserver().removeOnDrawListener(this); } public final void b(View view) { if (this.f12508j) { return; } this.f12508j = true; view.getViewTreeObserver().addOnDrawListener(this); } @Override public final void execute(Runnable runnable) { kotlin.jvm.internal.l.f(runnable, "runnable"); this.f12507i = runnable; View decorView = ActivityC0859k.this.getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView, "window.decorView"); if (!this.f12508j) { decorView.postOnAnimation(new RunnableC0860l(0, this)); } else if (kotlin.jvm.internal.l.a(Looper.myLooper(), Looper.getMainLooper())) { decorView.invalidate(); } else { decorView.postInvalidate(); } } @Override public final void onDraw() { boolean z7; Runnable runnable = this.f12507i; if (runnable == null) { if (SystemClock.uptimeMillis() > this.f12506h) { this.f12508j = false; ActivityC0859k.this.getWindow().getDecorView().post(this); return; } return; } runnable.run(); this.f12507i = null; C0868t c0868t = (C0868t) ActivityC0859k.this.f12490n.getValue(); synchronized (c0868t.f12533b) { z7 = c0868t.f12534c; } if (z7) { this.f12508j = false; ActivityC0859k.this.getWindow().getDecorView().post(this); } } @Override public final void run() { ActivityC0859k.this.getWindow().getDecorView().getViewTreeObserver().removeOnDrawListener(this); } } public static final class e extends AbstractC1063e { public e() { } @Override public final void b(final int i8, AbstractC1108a contract, Object obj) { Bundle bundle; kotlin.jvm.internal.l.f(contract, "contract"); ActivityC0859k activityC0859k = ActivityC0859k.this; AbstractC1108a.C0205a b8 = contract.b(activityC0859k, obj); if (b8 != null) { new Handler(Looper.getMainLooper()).post(new RunnableC0861m(i8, 0, this, b8)); return; } Intent a8 = contract.a(activityC0859k, obj); if (a8.getExtras() != null) { Bundle extras = a8.getExtras(); kotlin.jvm.internal.l.c(extras); if (extras.getClassLoader() == null) { a8.setExtrasClassLoader(activityC0859k.getClassLoader()); } } if (a8.hasExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE")) { Bundle bundleExtra = a8.getBundleExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE"); a8.removeExtra("androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE"); bundle = bundleExtra; } else { bundle = null; } if (!kotlin.jvm.internal.l.a("androidx.activity.result.contract.action.REQUEST_PERMISSIONS", a8.getAction())) { if (!kotlin.jvm.internal.l.a("androidx.activity.result.contract.action.INTENT_SENDER_REQUEST", a8.getAction())) { activityC0859k.startActivityForResult(a8, i8, bundle); return; } C1068j c1068j = (C1068j) a8.getParcelableExtra("androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST"); try { kotlin.jvm.internal.l.c(c1068j); activityC0859k.startIntentSenderForResult(c1068j.f14760h, i8, c1068j.f14761i, c1068j.f14762j, c1068j.f14763k, 0, bundle); return; } catch (IntentSender.SendIntentException e8) { new Handler(Looper.getMainLooper()).post(new Runnable() { @Override public final void run() { ActivityC0859k.e this$0 = ActivityC0859k.e.this; kotlin.jvm.internal.l.f(this$0, "this$0"); IntentSender.SendIntentException e9 = e8; kotlin.jvm.internal.l.f(e9, "$e"); this$0.a(i8, 0, new Intent().setAction("androidx.activity.result.contract.action.INTENT_SENDER_REQUEST").putExtra("androidx.activity.result.contract.extra.SEND_INTENT_EXCEPTION", e9)); } }); return; } } String[] stringArrayExtra = a8.getStringArrayExtra("androidx.activity.result.contract.extra.PERMISSIONS"); if (stringArrayExtra == null) { stringArrayExtra = new String[0]; } HashSet hashSet = new HashSet(); for (int i9 = 0; i9 < stringArrayExtra.length; i9++) { if (TextUtils.isEmpty(stringArrayExtra[i9])) { throw new IllegalArgumentException(C0563g.g(new StringBuilder("Permission request for permissions "), Arrays.toString(stringArrayExtra), " must not contain null or empty values")); } if (Build.VERSION.SDK_INT < 33 && TextUtils.equals(stringArrayExtra[i9], "android.permission.POST_NOTIFICATIONS")) { hashSet.add(Integer.valueOf(i9)); } } int size = hashSet.size(); String[] strArr = size > 0 ? new String[stringArrayExtra.length - size] : stringArrayExtra; if (size > 0) { if (size == stringArrayExtra.length) { return; } int i10 = 0; for (int i11 = 0; i11 < stringArrayExtra.length; i11++) { if (!hashSet.contains(Integer.valueOf(i11))) { strArr[i10] = stringArrayExtra[i11]; i10++; } } } if (activityC0859k instanceof f1.b) { ((f1.b) activityC0859k).getClass(); } C1123a.b(activityC0859k, stringArrayExtra, i8); } } public static final class f extends kotlin.jvm.internal.m implements InterfaceC1714a<M> { public f() { super(0); } @Override public final M invoke() { ActivityC0859k activityC0859k = ActivityC0859k.this; return new M(activityC0859k.getApplication(), activityC0859k, activityC0859k.getIntent() != null ? activityC0859k.getIntent().getExtras() : null); } } public static final class g extends kotlin.jvm.internal.m implements InterfaceC1714a<C0868t> { public g() { super(0); } @Override public final C0868t invoke() { ActivityC0859k activityC0859k = ActivityC0859k.this; return new C0868t(activityC0859k.f12489m, new C0863o(activityC0859k)); } } public static final class h extends kotlin.jvm.internal.m implements InterfaceC1714a<C0843B> { public h() { super(0); } @Override public final C0843B invoke() { ActivityC0859k activityC0859k = ActivityC0859k.this; C0843B c0843b = new C0843B(new RunnableC0853e(activityC0859k, 1)); if (Build.VERSION.SDK_INT >= 33) { if (kotlin.jvm.internal.l.a(Looper.myLooper(), Looper.getMainLooper())) { activityC0859k.getClass(); activityC0859k.f14975h.a(new C0858j(activityC0859k, c0843b)); } else { new Handler(Looper.getMainLooper()).post(new RunnableC0864p(activityC0859k, 0, c0843b)); } } return c0843b; } } public ActivityC0859k() { int i8 = 0; X1.c cVar = new X1.c(this); this.f12487k = cVar; this.f12489m = new d(); this.f12490n = L5.d.y(new g()); this.f12491o = new AtomicInteger(); this.f12492p = new e(); this.f12493q = new CopyOnWriteArrayList<>(); this.f12494r = new CopyOnWriteArrayList<>(); this.f12495s = new CopyOnWriteArrayList<>(); this.f12496t = new CopyOnWriteArrayList<>(); this.f12497u = new CopyOnWriteArrayList<>(); this.f12498v = new CopyOnWriteArrayList<>(); C0830s c0830s = this.f14975h; if (c0830s == null) { throw new IllegalStateException("getLifecycle() returned null in ComponentActivity's constructor. Please make sure you are lazily constructing your Lifecycle in the first call to getLifecycle() rather than relying on field initialization.".toString()); } c0830s.a(new C0854f(0, this)); this.f14975h.a(new InterfaceC0828p() { @Override public final void g(androidx.lifecycle.r rVar, AbstractC0823k.a aVar) { ActivityC0859k this$0 = ActivityC0859k.this; kotlin.jvm.internal.l.f(this$0, "this$0"); if (aVar == AbstractC0823k.a.ON_DESTROY) { this$0.f12485i.f14337b = null; if (!this$0.isChangingConfigurations()) { this$0.t().a(); } this$0.f12489m.a(); } } }); this.f14975h.a(new a()); cVar.a(); J.b(this); cVar.f8951b.c("android:support:activity-result", new C0856h(this, i8)); v(new InterfaceC1031b() { @Override public final void a(Context it) { ActivityC0859k this$0 = ActivityC0859k.this; kotlin.jvm.internal.l.f(this$0, "this$0"); kotlin.jvm.internal.l.f(it, "it"); Bundle a8 = this$0.f12487k.f8951b.a("android:support:activity-result"); if (a8 != null) { ActivityC0859k.e eVar = this$0.f12492p; eVar.getClass(); ArrayList<Integer> integerArrayList = a8.getIntegerArrayList("KEY_COMPONENT_ACTIVITY_REGISTERED_RCS"); ArrayList<String> stringArrayList = a8.getStringArrayList("KEY_COMPONENT_ACTIVITY_REGISTERED_KEYS"); if (stringArrayList == null || integerArrayList == null) { return; } ArrayList<String> stringArrayList2 = a8.getStringArrayList("KEY_COMPONENT_ACTIVITY_LAUNCHED_KEYS"); if (stringArrayList2 != null) { eVar.f14745d.addAll(stringArrayList2); } Bundle bundle = a8.getBundle("KEY_COMPONENT_ACTIVITY_PENDING_RESULT"); Bundle bundle2 = eVar.f14748g; if (bundle != null) { bundle2.putAll(bundle); } int size = stringArrayList.size(); for (int i9 = 0; i9 < size; i9++) { String str = stringArrayList.get(i9); LinkedHashMap linkedHashMap = eVar.f14743b; boolean containsKey = linkedHashMap.containsKey(str); LinkedHashMap linkedHashMap2 = eVar.f14742a; if (containsKey) { Integer num = (Integer) linkedHashMap.remove(str); if (!bundle2.containsKey(str)) { kotlin.jvm.internal.A.b(linkedHashMap2); linkedHashMap2.remove(num); } } Integer num2 = integerArrayList.get(i9); kotlin.jvm.internal.l.e(num2, "rcs[i]"); int intValue = num2.intValue(); String str2 = stringArrayList.get(i9); kotlin.jvm.internal.l.e(str2, "keys[i]"); String str3 = str2; linkedHashMap2.put(Integer.valueOf(intValue), str3); linkedHashMap.put(str3, Integer.valueOf(intValue)); } } } }); this.f12501y = L5.d.y(new f()); this.f12502z = L5.d.y(new h()); } @Override public final AbstractC0823k a() { return this.f14975h; } @Override public void addContentView(View view, ViewGroup.LayoutParams layoutParams) { w(); View decorView = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView, "window.decorView"); this.f12489m.b(decorView); super.addContentView(view, layoutParams); } @Override public final void b(F.c provider) { kotlin.jvm.internal.l.f(provider, "provider"); C1643n c1643n = this.f12486j; c1643n.f18449b.remove(provider); if (((C1643n.a) c1643n.f18450c.remove(provider)) != null) { throw null; } c1643n.f18448a.run(); } @Override public final C0843B c() { return (C0843B) this.f12502z.getValue(); } @Override public final X1.b e() { return this.f12487k.f8951b; } public W.b h() { return (W.b) this.f12501y.getValue(); } @Override public final void i(G1.D listener) { kotlin.jvm.internal.l.f(listener, "listener"); this.f12493q.add(listener); } @Override public final K1.a j() { K1.b bVar = new K1.b(0); Application application = getApplication(); LinkedHashMap linkedHashMap = bVar.f4360a; if (application != null) { W.a.C0144a c0144a = W.a.f11601d; Application application2 = getApplication(); kotlin.jvm.internal.l.e(application2, "application"); linkedHashMap.put(c0144a, application2); } linkedHashMap.put(J.f11566a, this); linkedHashMap.put(J.f11567b, this); Intent intent = getIntent(); Bundle extras = intent != null ? intent.getExtras() : null; if (extras != null) { linkedHashMap.put(J.f11568c, extras); } return bVar; } @Override public final void k(G1.D listener) { kotlin.jvm.internal.l.f(listener, "listener"); this.f12497u.remove(listener); } @Override public final void l(F.c provider) { kotlin.jvm.internal.l.f(provider, "provider"); C1643n c1643n = this.f12486j; c1643n.f18449b.add(provider); c1643n.f18448a.run(); } @Override public final void m(C0551u listener) { kotlin.jvm.internal.l.f(listener, "listener"); this.f12494r.remove(listener); } @Override public final void n(G1.E listener) { kotlin.jvm.internal.l.f(listener, "listener"); this.f12496t.remove(listener); } @Override public final void o(G1.D listener) { kotlin.jvm.internal.l.f(listener, "listener"); this.f12493q.remove(listener); } @Override public void onActivityResult(int i8, int i9, Intent intent) { if (this.f12492p.a(i8, i9, intent)) { return; } super.onActivityResult(i8, i9, intent); } @Override public void onBackPressed() { c().c(); } @Override public void onConfigurationChanged(Configuration newConfig) { kotlin.jvm.internal.l.f(newConfig, "newConfig"); super.onConfigurationChanged(newConfig); Iterator<InterfaceC1590a<Configuration>> it = this.f12493q.iterator(); while (it.hasNext()) { it.next().accept(newConfig); } } @Override public void onCreate(Bundle bundle) { this.f12487k.b(bundle); C1030a c1030a = this.f12485i; c1030a.getClass(); c1030a.f14337b = this; Iterator it = c1030a.f14336a.iterator(); while (it.hasNext()) { ((InterfaceC1031b) it.next()).a(this); } super.onCreate(bundle); int i8 = androidx.lifecycle.E.f11553i; E.b.b(this); } @Override public final boolean onCreatePanelMenu(int i8, Menu menu) { kotlin.jvm.internal.l.f(menu, "menu"); if (i8 != 0) { return true; } super.onCreatePanelMenu(i8, menu); MenuInflater menuInflater = getMenuInflater(); Iterator<InterfaceC1645p> it = this.f12486j.f18449b.iterator(); while (it.hasNext()) { it.next().c(menu, menuInflater); } return true; } @Override public boolean onMenuItemSelected(int i8, MenuItem item) { kotlin.jvm.internal.l.f(item, "item"); boolean z7 = true; if (super.onMenuItemSelected(i8, item)) { return true; } if (i8 != 0) { return false; } Iterator<InterfaceC1645p> it = this.f12486j.f18449b.iterator(); while (true) { if (!it.hasNext()) { z7 = false; break; } if (it.next().a(item)) { break; } } return z7; } @Override public final void onMultiWindowModeChanged(boolean z7, Configuration newConfig) { kotlin.jvm.internal.l.f(newConfig, "newConfig"); this.f12499w = true; try { super.onMultiWindowModeChanged(z7, newConfig); this.f12499w = false; Iterator<InterfaceC1590a<f1.k>> it = this.f12496t.iterator(); while (it.hasNext()) { it.next().accept(new f1.k(z7)); } } catch (Throwable th) { this.f12499w = false; throw th; } } @Override public void onNewIntent(Intent intent) { kotlin.jvm.internal.l.f(intent, "intent"); super.onNewIntent(intent); Iterator<InterfaceC1590a<Intent>> it = this.f12495s.iterator(); while (it.hasNext()) { it.next().accept(intent); } } @Override public void onPanelClosed(int i8, Menu menu) { kotlin.jvm.internal.l.f(menu, "menu"); Iterator<InterfaceC1645p> it = this.f12486j.f18449b.iterator(); while (it.hasNext()) { it.next().b(menu); } super.onPanelClosed(i8, menu); } @Override public final void onPictureInPictureModeChanged(boolean z7, Configuration newConfig) { kotlin.jvm.internal.l.f(newConfig, "newConfig"); this.f12500x = true; try { super.onPictureInPictureModeChanged(z7, newConfig); this.f12500x = false; Iterator<InterfaceC1590a<f1.w>> it = this.f12497u.iterator(); while (it.hasNext()) { it.next().accept(new f1.w(z7)); } } catch (Throwable th) { this.f12500x = false; throw th; } } @Override public final boolean onPreparePanel(int i8, View view, Menu menu) { kotlin.jvm.internal.l.f(menu, "menu"); if (i8 != 0) { return true; } super.onPreparePanel(i8, view, menu); Iterator<InterfaceC1645p> it = this.f12486j.f18449b.iterator(); while (it.hasNext()) { it.next().d(menu); } return true; } @Override public void onRequestPermissionsResult(int i8, String[] permissions, int[] grantResults) { kotlin.jvm.internal.l.f(permissions, "permissions"); kotlin.jvm.internal.l.f(grantResults, "grantResults"); if (this.f12492p.a(i8, -1, new Intent().putExtra("androidx.activity.result.contract.extra.PERMISSIONS", permissions).putExtra("androidx.activity.result.contract.extra.PERMISSION_GRANT_RESULTS", grantResults))) { return; } super.onRequestPermissionsResult(i8, permissions, grantResults); } @Override public final Object onRetainNonConfigurationInstance() { c cVar; X x7 = this.f12488l; if (x7 == null && (cVar = (c) getLastNonConfigurationInstance()) != null) { x7 = cVar.f12505a; } if (x7 == null) { return null; } c cVar2 = new c(); cVar2.f12505a = x7; return cVar2; } @Override public void onSaveInstanceState(Bundle outState) { kotlin.jvm.internal.l.f(outState, "outState"); C0830s c0830s = this.f14975h; if (c0830s instanceof C0830s) { kotlin.jvm.internal.l.d(c0830s, "null cannot be cast to non-null type androidx.lifecycle.LifecycleRegistry"); c0830s.h(AbstractC0823k.b.f11630j); } super.onSaveInstanceState(outState); this.f12487k.c(outState); } @Override public final void onTrimMemory(int i8) { super.onTrimMemory(i8); Iterator<InterfaceC1590a<Integer>> it = this.f12494r.iterator(); while (it.hasNext()) { it.next().accept(Integer.valueOf(i8)); } } @Override public final void onUserLeaveHint() { super.onUserLeaveHint(); Iterator<Runnable> it = this.f12498v.iterator(); while (it.hasNext()) { it.next().run(); } } @Override public final void p(C0551u listener) { kotlin.jvm.internal.l.f(listener, "listener"); this.f12494r.add(listener); } @Override public final void q(G1.E listener) { kotlin.jvm.internal.l.f(listener, "listener"); this.f12496t.add(listener); } @Override public final AbstractC1063e r() { return this.f12492p; } @Override public final void reportFullyDrawn() { try { if (C0922a.a()) { Trace.beginSection("reportFullyDrawn() for ComponentActivity"); } super.reportFullyDrawn(); C0868t c0868t = (C0868t) this.f12490n.getValue(); synchronized (c0868t.f12533b) { try { c0868t.f12534c = true; Iterator it = c0868t.f12535d.iterator(); while (it.hasNext()) { ((InterfaceC1714a) it.next()).invoke(); } c0868t.f12535d.clear(); C1102y c1102y = C1102y.f14898a; } finally { } } Trace.endSection(); } catch (Throwable th) { Trace.endSection(); throw th; } } @Override public final void s(G1.D listener) { kotlin.jvm.internal.l.f(listener, "listener"); this.f12497u.add(listener); } @Override public void setContentView(int i8) { w(); View decorView = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView, "window.decorView"); this.f12489m.b(decorView); super.setContentView(i8); } @Override public final void startActivityForResult(Intent intent, int i8) { kotlin.jvm.internal.l.f(intent, "intent"); super.startActivityForResult(intent, i8); } @Override public final void startIntentSenderForResult(IntentSender intent, int i8, Intent intent2, int i9, int i10, int i11) { kotlin.jvm.internal.l.f(intent, "intent"); super.startIntentSenderForResult(intent, i8, intent2, i9, i10, i11); } @Override public final X t() { if (getApplication() == null) { throw new IllegalStateException("Your activity is not yet attached to the Application instance. You can't request ViewModel before onCreate call.".toString()); } if (this.f12488l == null) { c cVar = (c) getLastNonConfigurationInstance(); if (cVar != null) { this.f12488l = cVar.f12505a; } if (this.f12488l == null) { this.f12488l = new X(); } } X x7 = this.f12488l; kotlin.jvm.internal.l.c(x7); return x7; } public final void v(InterfaceC1031b interfaceC1031b) { C1030a c1030a = this.f12485i; c1030a.getClass(); Context context = c1030a.f14337b; if (context != null) { interfaceC1031b.a(context); } c1030a.f14336a.add(interfaceC1031b); } public final void w() { View decorView = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView, "window.decorView"); Z.b(decorView, this); View decorView2 = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView2, "window.decorView"); a0.b(decorView2, this); View decorView3 = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView3, "window.decorView"); X1.e.b(decorView3, this); View decorView4 = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView4, "window.decorView"); L.W.P(decorView4, this); View decorView5 = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView5, "window.decorView"); decorView5.setTag(R.id.report_drawn, this); } public final AbstractC1061c x(InterfaceC1060b interfaceC1060b, AbstractC1108a abstractC1108a) { e registry = this.f12492p; kotlin.jvm.internal.l.f(registry, "registry"); return registry.c("activity_rq#" + this.f12491o.getAndIncrement(), this, abstractC1108a, interfaceC1060b); } @Override public final void startActivityForResult(Intent intent, int i8, Bundle bundle) { kotlin.jvm.internal.l.f(intent, "intent"); super.startActivityForResult(intent, i8, bundle); } @Override public final void startIntentSenderForResult(IntentSender intent, int i8, Intent intent2, int i9, int i10, int i11, Bundle bundle) { kotlin.jvm.internal.l.f(intent, "intent"); super.startIntentSenderForResult(intent, i8, intent2, i9, i10, i11, bundle); } @Override public void setContentView(View view) { w(); View decorView = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView, "window.decorView"); this.f12489m.b(decorView); super.setContentView(view); } @Override public void setContentView(View view, ViewGroup.LayoutParams layoutParams) { w(); View decorView = getWindow().getDecorView(); kotlin.jvm.internal.l.e(decorView, "window.decorView"); this.f12489m.b(decorView); super.setContentView(view, layoutParams); } @Override public final void onMultiWindowModeChanged(boolean z7) { if (this.f12499w) { return; } Iterator<InterfaceC1590a<f1.k>> it = this.f12496t.iterator(); while (it.hasNext()) { it.next().accept(new f1.k(z7)); } } @Override public final void onPictureInPictureModeChanged(boolean z7) { if (this.f12500x) { return; } Iterator<InterfaceC1590a<f1.w>> it = this.f12497u.iterator(); while (it.hasNext()) { it.next().accept(new f1.w(z7)); } } }