导航菜单

页面标题

页面副标题

远离手机 v4.9.11 - lI1l11ll11I.java 源代码

正在查看: 远离手机 v4.9.11 应用的 lI1l11ll11I.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.lijianqiang12.silent;

import android.annotation.SuppressLint;
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.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewTreeObserver;
import android.view.Window;
import android.window.OnBackInvokedDispatcher;
import androidx.activity.result.IntentSenderRequest;
import androidx.view.C0126ViewTreeViewModelStoreOwner;
import androidx.view.HasDefaultViewModelProviderFactory;
import androidx.view.Lifecycle;
import androidx.view.LifecycleEventObserver;
import androidx.view.LifecycleOwner;
import androidx.view.LifecycleRegistry;
import androidx.view.ReportFragment;
import androidx.view.SavedStateHandleSupport;
import androidx.view.SavedStateViewModelFactory;
import androidx.view.ViewModelProvider;
import androidx.view.ViewModelStore;
import androidx.view.ViewModelStoreOwner;
import androidx.view.viewmodel.CreationExtras;
import androidx.view.viewmodel.MutableCreationExtras;
import com.lijianqiang12.silent.I1Ill1I1II;
import com.lijianqiang12.silent.l1Il11lIII1l;
import com.lijianqiang12.silent.lI1l11ll11I;
import com.lijianqiang12.silent.llIl1llI1lIl;
import java.util.Iterator;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicInteger;

public class lI1l11ll11I extends Il1111lIllIl implements Il1111l1Il111, LifecycleOwner, ViewModelStoreOwner, HasDefaultViewModelProviderFactory, lll1llllIll1, lll1lIIl1l1, I11Il1llI11I, Ill1lllllll, I1IlII1Il1II, lIllI1III11II, I1IlI1IIIl1l, I1IlIl1l1ll, IIl1I1IIIlII, l11Il11II1lll, l1Il1l11ll111, l1IlllIII1 {

    @lIllI1IIlI11l
    private static final String ACTIVITY_RESULT_TAG = "android:support:activity-result";

    @lIllI1IIlI11l
    private static final Il11lI1III1 Companion = new Il11lI1III1(null);

    @lIIl1Ill111
    private ViewModelStore _viewModelStore;

    @lIllI1IIlI11l
    private final Il1llI1l111ll activityResultRegistry;

    @I1l1l1llll1Il
    private int contentLayoutId;

    @lIllI1IIlI11l
    private final IllI1I11IIl contextAwareHelper;

    @lIllI1IIlI11l
    private final II1IlIl1lll11 defaultViewModelProviderFactory$delegate;
    private boolean dispatchingOnMultiWindowModeChanged;
    private boolean dispatchingOnPictureInPictureModeChanged;

    @lIllI1IIlI11l
    private final II1IlIl1lll11 fullyDrawnReporter$delegate;

    @lIllI1IIlI11l
    private final II1IIIIIl1II menuHostHelper;

    @lIllI1IIlI11l
    private final AtomicInteger nextLocalRequestCode;

    @lIllI1IIlI11l
    private final II1IlIl1lll11 onBackPressedDispatcher$delegate;

    @lIllI1IIlI11l
    private final CopyOnWriteArrayList<l1IIl1lll1111<Configuration>> onConfigurationChangedListeners;

    @lIllI1IIlI11l
    private final CopyOnWriteArrayList<l1IIl1lll1111<Il1lll1I1Il1>> onMultiWindowModeChangedListeners;

    @lIllI1IIlI11l
    private final CopyOnWriteArrayList<l1IIl1lll1111<Intent>> onNewIntentListeners;

    @lIllI1IIlI11l
    private final CopyOnWriteArrayList<l1IIl1lll1111<I1III11l11I1I>> onPictureInPictureModeChangedListeners;

    @lIllI1IIlI11l
    private final CopyOnWriteArrayList<l1IIl1lll1111<Integer>> onTrimMemoryListeners;

    @lIllI1IIlI11l
    private final CopyOnWriteArrayList<Runnable> onUserLeaveHintListeners;

    @lIllI1IIlI11l
    private final Il1IlII1 reportFullyDrawnExecutor;

    @lIllI1IIlI11l
    private final I11l1IlllII savedStateRegistryController;

    static final class IIll11IllI1l extends I11Ill1Il1I1 implements lllI1llIllIll<I1I1ll11l1> {
        IIll11IllI1l() {
            super(0);
        }

        public static final void Il1IlII1(lI1l11ll11I li1l11ll11i, I1I1ll11l1 i1I1ll11l1) {
            li1l11ll11i.III11IIll1lI1(i1I1ll11l1);
        }

        public static final void lIIl1I1I(lI1l11ll11I li1l11ll11i) {
            try {
                lI1l11ll11I.super.onBackPressed();
            } catch (IllegalStateException e) {
                if (!l1l1lIII11I11.lII1lI1Illl(e.getMessage(), "Can not perform this action after onSaveInstanceState")) {
                    throw e;
                }
            } catch (NullPointerException e2) {
                if (!l1l1lIII11I11.lII1lI1Illl(e2.getMessage(), "Attempt to invoke virtual method 'android.os.Handler android.app.FragmentHostCallback.getHandler()' on a null object reference")) {
                    throw e2;
                }
            }
        }

        public final I1I1ll11l1 invoke() {
            final lI1l11ll11I li1l11ll11i = lI1l11ll11I.this;
            final I1I1ll11l1 i1I1ll11l1 = new I1I1ll11l1(new Runnable() {
                @Override
                public final void run() {
                    lI1l11ll11I.IIll11IllI1l.lIIl1I1I(lI1l11ll11I.this);
                }
            });
            final lI1l11ll11I li1l11ll11i2 = lI1l11ll11I.this;
            if (Build.VERSION.SDK_INT >= 33) {
                if (l1l1lIII11I11.lII1lI1Illl(Looper.myLooper(), Looper.getMainLooper())) {
                    li1l11ll11i2.III11IIll1lI1(i1I1ll11l1);
                } else {
                    new Handler(Looper.getMainLooper()).post(new Runnable() {
                        @Override
                        public final void run() {
                            lI1l11ll11I.IIll11IllI1l.Il1IlII1(lI1l11ll11I.this, i1I1ll11l1);
                        }
                    });
                }
            }
            return i1I1ll11l1;
        }
    }

    public static final class IIllIl1llII implements LifecycleEventObserver {
        IIllIl1llII() {
        }

        @Override
        public void onStateChanged(LifecycleOwner lifecycleOwner, Lifecycle.Event event) {
            l1l1lIII11I11.IIl1I11I1lI1l(lifecycleOwner, "source");
            l1l1lIII11I11.IIl1I11I1lI1l(event, l1llIII11l.llIl11III1lI1);
            lI1l11ll11I.this.Il11lI1l();
            lI1l11ll11I.this.getLifecycle().removeObserver(this);
        }
    }

    private static final class Il11lI1III1 {
        public Il11lI1III1(l1lIl1lIlll1l l1lil1lilll1l) {
            this();
        }

        private Il11lI1III1() {
        }
    }

    private interface Il1IlII1 extends Executor {
        void I1Il11llllIl();

        void II1IllIlI1(@lIllI1IIlI11l View view);
    }

    static final class Ill1llIIlIlll extends I11Ill1Il1I1 implements lllI1llIllIll<l1IIIllII1I> {

        static final class IIllIl1llII extends I11Ill1Il1I1 implements lllI1llIllIll<ll1II1Il1111l> {
            final lI1l11ll11I Il11lIlllll1;

            IIllIl1llII(lI1l11ll11I li1l11ll11i) {
                super(0);
                this.Il11lIlllll1 = li1l11ll11i;
            }

            public Object invoke() {
                m42invoke();
                return ll1II1Il1111l.IIllIl1llII;
            }

            public final void m42invoke() {
                this.Il11lIlllll1.reportFullyDrawn();
            }
        }

        Ill1llIIlIlll() {
            super(0);
        }

        public final l1IIIllII1I invoke() {
            return new l1IIIllII1I(lI1l11ll11I.this.reportFullyDrawnExecutor, new IIllIl1llII(lI1l11ll11I.this));
        }
    }

    @l1l1lI1IIl1I(33)
    private static final class IlllIll1I1I {

        @lIllI1IIlI11l
        public static final IlllIll1I1I IIllIl1llII = new IlllIll1I1I();

        private IlllIll1I1I() {
        }

        @lIllI1IIlI11l
        public final OnBackInvokedDispatcher IIllIl1llII(@lIllI1IIlI11l Activity activity) {
            l1l1lIII11I11.IIl1I11I1lI1l(activity, "activity");
            OnBackInvokedDispatcher onBackInvokedDispatcher = activity.getOnBackInvokedDispatcher();
            l1l1lIII11I11.III11IIll1lI1(onBackInvokedDispatcher, "activity.getOnBackInvokedDispatcher()");
            return onBackInvokedDispatcher;
        }
    }

    final class lI11111lI1 implements Il1IlII1, ViewTreeObserver.OnDrawListener, Runnable {

        @lIIl1Ill111
        private Runnable I1II1ll1lI1;
        private final long Il11lIlllll1 = SystemClock.uptimeMillis() + 10000;
        private boolean l11l1l11I1;

        public lI11111lI1() {
        }

        public static final void IlllIll1I1I(lI11111lI1 li11111li1) {
            Runnable runnable = li11111li1.I1II1ll1lI1;
            if (runnable != null) {
                l1l1lIII11I11.IllIlI1l1I(runnable);
                runnable.run();
                li11111li1.I1II1ll1lI1 = null;
            }
        }

        @Override
        public void I1Il11llllIl() {
            lI1l11ll11I.this.getWindow().getDecorView().removeCallbacks(this);
            lI1l11ll11I.this.getWindow().getDecorView().getViewTreeObserver().removeOnDrawListener(this);
        }

        @Override
        public void II1IllIlI1(@lIllI1IIlI11l View view) {
            l1l1lIII11I11.IIl1I11I1lI1l(view, "view");
            if (this.l11l1l11I1) {
                return;
            }
            this.l11l1l11I1 = true;
            view.getViewTreeObserver().addOnDrawListener(this);
        }

        @lIIl1Ill111
        public final Runnable Il11lI1III1() {
            return this.I1II1ll1lI1;
        }

        public final boolean Il1IlII1() {
            return this.l11l1l11I1;
        }

        @Override
        public void execute(@lIllI1IIlI11l Runnable runnable) {
            l1l1lIII11I11.IIl1I11I1lI1l(runnable, "runnable");
            this.I1II1ll1lI1 = runnable;
            View decorView = lI1l11ll11I.this.getWindow().getDecorView();
            l1l1lIII11I11.III11IIll1lI1(decorView, "window.decorView");
            if (!this.l11l1l11I1) {
                decorView.postOnAnimation(new Runnable() {
                    @Override
                    public final void run() {
                        lI1l11ll11I.lI11111lI1.IlllIll1I1I(lI1l11ll11I.lI11111lI1.this);
                    }
                });
            } else if (l1l1lIII11I11.lII1lI1Illl(Looper.myLooper(), Looper.getMainLooper())) {
                decorView.invalidate();
            } else {
                decorView.postInvalidate();
            }
        }

        public final void lI11111lI1(@lIIl1Ill111 Runnable runnable) {
            this.I1II1ll1lI1 = runnable;
        }

        public final void lII1lI1Illl(boolean z) {
            this.l11l1l11I1 = z;
        }

        public final long lIIl1I1I() {
            return this.Il11lIlllll1;
        }

        @Override
        public void onDraw() {
            Runnable runnable = this.I1II1ll1lI1;
            if (runnable == null) {
                if (SystemClock.uptimeMillis() > this.Il11lIlllll1) {
                    this.l11l1l11I1 = false;
                    lI1l11ll11I.this.getWindow().getDecorView().post(this);
                    return;
                }
                return;
            }
            runnable.run();
            this.I1II1ll1lI1 = null;
            if (lI1l11ll11I.this.getFullyDrawnReporter().Il1IlII1()) {
                this.l11l1l11I1 = false;
                lI1l11ll11I.this.getWindow().getDecorView().post(this);
            }
        }

        @Override
        public void run() {
            lI1l11ll11I.this.getWindow().getDecorView().getViewTreeObserver().removeOnDrawListener(this);
        }
    }

    static final class lI111l1I1llIl extends I11Ill1Il1I1 implements lllI1llIllIll<SavedStateViewModelFactory> {
        lI111l1I1llIl() {
            super(0);
        }

        public final SavedStateViewModelFactory invoke() {
            Application application = lI1l11ll11I.this.getApplication();
            lI1l11ll11I li1l11ll11i = lI1l11ll11I.this;
            return new SavedStateViewModelFactory(application, li1l11ll11i, li1l11ll11i.getIntent() != null ? lI1l11ll11I.this.getIntent().getExtras() : null);
        }
    }

    public static final class lII1lI1Illl extends Il1llI1l111ll {
        lII1lI1Illl() {
        }

        public static final void IIIII11lIlIl(lII1lI1Illl lii1li1illl, int i, llIl1llI1lIl.IIllIl1llII iIllIl1llII) {
            lii1li1illl.lI11111lI1(i, iIllIl1llII.IIllIl1llII());
        }

        public static final void llIIlllll111(lII1lI1Illl lii1li1illl, int i, IntentSender.SendIntentException sendIntentException) {
            lii1li1illl.Il1IlII1(i, 0, new Intent().setAction(l1Il11lIII1l.l1llllI11l111.IlllIll1I1I).putExtra(l1Il11lIII1l.l1llllI11l111.lIIl1I1I, sendIntentException));
        }

        @Override
        public <I, O> void Ill1llIIlIlll(final int i, llIl1llI1lIl<I, O> llil1lli1lil, I i2, lIIlII1I1III1 liilii1i1iii1) {
            Bundle l1llllI11l111;
            l1l1lIII11I11.IIl1I11I1lI1l(llil1lli1lil, "contract");
            lI1l11ll11I li1l11ll11i = lI1l11ll11I.this;
            final llIl1llI1lIl.IIllIl1llII<O> IlllIll1I1I = llil1lli1lil.IlllIll1I1I(li1l11ll11i, i2);
            if (IlllIll1I1I != null) {
                new Handler(Looper.getMainLooper()).post(new Runnable() {
                    @Override
                    public final void run() {
                        lI1l11ll11I.lII1lI1Illl.IIIII11lIlIl(lI1l11ll11I.lII1lI1Illl.this, i, IlllIll1I1I);
                    }
                });
                return;
            }
            Intent IIllIl1llII = llil1lli1lil.IIllIl1llII(li1l11ll11i, i2);
            if (IIllIl1llII.getExtras() != null) {
                Bundle extras = IIllIl1llII.getExtras();
                l1l1lIII11I11.IllIlI1l1I(extras);
                if (extras.getClassLoader() == null) {
                    IIllIl1llII.setExtrasClassLoader(li1l11ll11i.getClassLoader());
                }
            }
            if (IIllIl1llII.hasExtra(l1Il11lIII1l.IllIlI1l1I.IlllIll1I1I)) {
                Bundle bundleExtra = IIllIl1llII.getBundleExtra(l1Il11lIII1l.IllIlI1l1I.IlllIll1I1I);
                IIllIl1llII.removeExtra(l1Il11lIII1l.IllIlI1l1I.IlllIll1I1I);
                l1llllI11l111 = bundleExtra;
            } else {
                l1llllI11l111 = liilii1i1iii1 != null ? liilii1i1iii1.l1llllI11l111() : null;
            }
            if (l1l1lIII11I11.lII1lI1Illl(l1Il11lIII1l.I1Il11llllIl.IlllIll1I1I, IIllIl1llII.getAction())) {
                String[] stringArrayExtra = IIllIl1llII.getStringArrayExtra(l1Il11lIII1l.I1Il11llllIl.Il11lI1III1);
                if (stringArrayExtra == null) {
                    stringArrayExtra = new String[0];
                }
                II1IIIIlI111.lI11lI1l1(li1l11ll11i, stringArrayExtra, i);
                return;
            }
            if (!l1l1lIII11I11.lII1lI1Illl(l1Il11lIII1l.l1llllI11l111.IlllIll1I1I, IIllIl1llII.getAction())) {
                II1IIIIlI111.Ill11IIlII1(li1l11ll11i, IIllIl1llII, i, l1llllI11l111);
                return;
            }
            IntentSenderRequest intentSenderRequest = (IntentSenderRequest) IIllIl1llII.getParcelableExtra(l1Il11lIII1l.l1llllI11l111.Il11lI1III1);
            try {
                l1l1lIII11I11.IllIlI1l1I(intentSenderRequest);
                II1IIIIlI111.l1I111lllI1l1(li1l11ll11i, intentSenderRequest.getIntentSender(), i, intentSenderRequest.getFillInIntent(), intentSenderRequest.getFlagsMask(), intentSenderRequest.getFlagsValues(), 0, l1llllI11l111);
            } catch (IntentSender.SendIntentException e) {
                new Handler(Looper.getMainLooper()).post(new Runnable() {
                    @Override
                    public final void run() {
                        lI1l11ll11I.lII1lI1Illl.llIIlllll111(lI1l11ll11I.lII1lI1Illl.this, i, e);
                    }
                });
            }
        }
    }

    public static final class lIIl1I1I {

        @lIIl1Ill111
        private Object IIllIl1llII;

        @lIIl1Ill111
        private ViewModelStore IlllIll1I1I;

        @lIIl1Ill111
        public final Object IIllIl1llII() {
            return this.IIllIl1llII;
        }

        public final void Il11lI1III1(@lIIl1Ill111 Object obj) {
            this.IIllIl1llII = obj;
        }

        @lIIl1Ill111
        public final ViewModelStore IlllIll1I1I() {
            return this.IlllIll1I1I;
        }

        public final void lIIl1I1I(@lIIl1Ill111 ViewModelStore viewModelStore) {
            this.IlllIll1I1I = viewModelStore;
        }
    }

    public lI1l11ll11I() {
        this.contextAwareHelper = new IllI1I11IIl();
        this.menuHostHelper = new II1IIIIIl1II(new Runnable() {
            @Override
            public final void run() {
                lI1l11ll11I.llIIlllll111(lI1l11ll11I.this);
            }
        });
        I11l1IlllII IIllIl1llII2 = I11l1IlllII.lIIl1I1I.IIllIl1llII(this);
        this.savedStateRegistryController = IIllIl1llII2;
        this.reportFullyDrawnExecutor = I11ll1l1lI11l();
        this.fullyDrawnReporter$delegate = lIll11lI11I1.IIllIl1llII(new Ill1llIIlIlll());
        this.nextLocalRequestCode = new AtomicInteger();
        this.activityResultRegistry = new lII1lI1Illl();
        this.onConfigurationChangedListeners = new CopyOnWriteArrayList<>();
        this.onTrimMemoryListeners = new CopyOnWriteArrayList<>();
        this.onNewIntentListeners = new CopyOnWriteArrayList<>();
        this.onMultiWindowModeChangedListeners = new CopyOnWriteArrayList<>();
        this.onPictureInPictureModeChangedListeners = new CopyOnWriteArrayList<>();
        this.onUserLeaveHintListeners = new CopyOnWriteArrayList<>();
        if (getLifecycle() == 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());
        }
        getLifecycle().addObserver(new LifecycleEventObserver() {
            @Override
            public final void onStateChanged(LifecycleOwner lifecycleOwner, Lifecycle.Event event) {
                lI1l11ll11I.I1Il11llllIl(lI1l11ll11I.this, lifecycleOwner, event);
            }
        });
        getLifecycle().addObserver(new LifecycleEventObserver() {
            @Override
            public final void onStateChanged(LifecycleOwner lifecycleOwner, Lifecycle.Event event) {
                lI1l11ll11I.ll11llIII1111(lI1l11ll11I.this, lifecycleOwner, event);
            }
        });
        getLifecycle().addObserver(new IIllIl1llII());
        IIllIl1llII2.Il11lI1III1();
        SavedStateHandleSupport.enableSavedStateHandles(this);
        if (Build.VERSION.SDK_INT <= 23) {
            getLifecycle().addObserver(new IIlI1I1Il(this));
        }
        getSavedStateRegistry().IIll11IllI1l(ACTIVITY_RESULT_TAG, new I1Ill1I1II.Il11lI1III1() {
            @Override
            public final Bundle saveState() {
                Bundle IllIlI1l1I;
                IllIlI1l1I = lI1l11ll11I.IllIlI1l1I(lI1l11ll11I.this);
                return IllIlI1l1I;
            }
        });
        addOnContextAvailableListener(new IllIIIIIl1Il1() {
            @Override
            public final void IIllIl1llII(Context context) {
                lI1l11ll11I.l1llllI11l111(lI1l11ll11I.this, context);
            }
        });
        this.defaultViewModelProviderFactory$delegate = lIll11lI11I1.IIllIl1llII(new lI111l1I1llIl());
        this.onBackPressedDispatcher$delegate = lIll11lI11I1.IIllIl1llII(new IIll11IllI1l());
    }

    private final Il1IlII1 I11ll1l1lI11l() {
        return new lI11111lI1();
    }

    public static final void I1Il11llllIl(lI1l11ll11I li1l11ll11i, LifecycleOwner lifecycleOwner, Lifecycle.Event event) {
        Window window;
        View peekDecorView;
        l1l1lIII11I11.IIl1I11I1lI1l(lifecycleOwner, "<anonymous parameter 0>");
        l1l1lIII11I11.IIl1I11I1lI1l(event, l1llIII11l.llIl11III1lI1);
        if (event != Lifecycle.Event.ON_STOP || (window = li1l11ll11i.getWindow()) == null || (peekDecorView = window.peekDecorView()) == null) {
            return;
        }
        peekDecorView.cancelPendingInputEvents();
    }

    @l1l1lI1IIl1I(33)
    public final void III11IIll1lI1(final I1I1ll11l1 i1I1ll11l1) {
        getLifecycle().addObserver(new LifecycleEventObserver() {
            @Override
            public final void onStateChanged(LifecycleOwner lifecycleOwner, Lifecycle.Event event) {
                lI1l11ll11I.IIl1I11I1lI1l(I1I1ll11l1.this, this, lifecycleOwner, event);
            }
        });
    }

    private static void IIIII11lIlIl() {
    }

    public static final void IIl1I11I1lI1l(I1I1ll11l1 i1I1ll11l1, lI1l11ll11I li1l11ll11i, LifecycleOwner lifecycleOwner, Lifecycle.Event event) {
        l1l1lIII11I11.IIl1I11I1lI1l(lifecycleOwner, "<anonymous parameter 0>");
        l1l1lIII11I11.IIl1I11I1lI1l(event, l1llIII11l.llIl11III1lI1);
        if (event == Lifecycle.Event.ON_CREATE) {
            i1I1ll11l1.IIIII11lIlIl(IlllIll1I1I.IIllIl1llII.IIllIl1llII(li1l11ll11i));
        }
    }

    public final void Il11lI1l() {
        if (this._viewModelStore == null) {
            lIIl1I1I liil1i1i = (lIIl1I1I) getLastNonConfigurationInstance();
            if (liil1i1i != null) {
                this._viewModelStore = liil1i1i.IlllIll1I1I();
            }
            if (this._viewModelStore == null) {
                this._viewModelStore = new ViewModelStore();
            }
        }
    }

    public static final Bundle IllIlI1l1I(lI1l11ll11I li1l11ll11i) {
        Bundle bundle = new Bundle();
        li1l11ll11i.activityResultRegistry.I1Il11llllIl(bundle);
        return bundle;
    }

    public static void getOnBackPressedDispatcher$annotations() {
    }

    public static final void l1llllI11l111(lI1l11ll11I li1l11ll11i, Context context) {
        l1l1lIII11I11.IIl1I11I1lI1l(context, "it");
        Bundle IlllIll1I1I2 = li1l11ll11i.getSavedStateRegistry().IlllIll1I1I(ACTIVITY_RESULT_TAG);
        if (IlllIll1I1I2 != null) {
            li1l11ll11i.activityResultRegistry.IIll11IllI1l(IlllIll1I1I2);
        }
    }

    public static final void ll11llIII1111(lI1l11ll11I li1l11ll11i, LifecycleOwner lifecycleOwner, Lifecycle.Event event) {
        l1l1lIII11I11.IIl1I11I1lI1l(lifecycleOwner, "<anonymous parameter 0>");
        l1l1lIII11I11.IIl1I11I1lI1l(event, l1llIII11l.llIl11III1lI1);
        if (event == Lifecycle.Event.ON_DESTROY) {
            li1l11ll11i.contextAwareHelper.IlllIll1I1I();
            if (!li1l11ll11i.isChangingConfigurations()) {
                li1l11ll11i.getViewModelStore().clear();
            }
            li1l11ll11i.reportFullyDrawnExecutor.I1Il11llllIl();
        }
    }

    public static final void llIIlllll111(lI1l11ll11I li1l11ll11i) {
        li1l11ll11i.invalidateMenu();
    }

    @Override
    public void addContentView(@lIIl1Ill111 View view, @lIIl1Ill111 ViewGroup.LayoutParams layoutParams) {
        initializeViewTreeOwners();
        Il1IlII1 il1IlII1 = this.reportFullyDrawnExecutor;
        View decorView = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView, "window.decorView");
        il1IlII1.II1IllIlI1(decorView);
        super.addContentView(view, layoutParams);
    }

    @Override
    public void addMenuProvider(@lIllI1IIlI11l II1lI1ll1lll1 iI1lI1ll1lll1) {
        l1l1lIII11I11.IIl1I11I1lI1l(iI1lI1ll1lll1, "provider");
        this.menuHostHelper.Il11lI1III1(iI1lI1ll1lll1);
    }

    @Override
    public final void addOnConfigurationChangedListener(@lIllI1IIlI11l l1IIl1lll1111<Configuration> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onConfigurationChangedListeners.add(l1iil1lll1111);
    }

    @Override
    public final void addOnContextAvailableListener(@lIllI1IIlI11l IllIIIIIl1Il1 illIIIIIl1Il1) {
        l1l1lIII11I11.IIl1I11I1lI1l(illIIIIIl1Il1, "listener");
        this.contextAwareHelper.IIllIl1llII(illIIIIIl1Il1);
    }

    @Override
    public final void addOnMultiWindowModeChangedListener(@lIllI1IIlI11l l1IIl1lll1111<Il1lll1I1Il1> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onMultiWindowModeChangedListeners.add(l1iil1lll1111);
    }

    @Override
    public final void addOnNewIntentListener(@lIllI1IIlI11l l1IIl1lll1111<Intent> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onNewIntentListeners.add(l1iil1lll1111);
    }

    @Override
    public final void addOnPictureInPictureModeChangedListener(@lIllI1IIlI11l l1IIl1lll1111<I1III11l11I1I> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onPictureInPictureModeChangedListeners.add(l1iil1lll1111);
    }

    @Override
    public final void addOnTrimMemoryListener(@lIllI1IIlI11l l1IIl1lll1111<Integer> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onTrimMemoryListeners.add(l1iil1lll1111);
    }

    @Override
    public final void addOnUserLeaveHintListener(@lIllI1IIlI11l Runnable runnable) {
        l1l1lIII11I11.IIl1I11I1lI1l(runnable, "listener");
        this.onUserLeaveHintListeners.add(runnable);
    }

    @Override
    @lIllI1IIlI11l
    public final Il1llI1l111ll getActivityResultRegistry() {
        return this.activityResultRegistry;
    }

    @Override
    @lIllI1IIlI11l
    @llll11I1l1II
    public CreationExtras getDefaultViewModelCreationExtras() {
        MutableCreationExtras mutableCreationExtras = new MutableCreationExtras(null, 1, null);
        if (getApplication() != null) {
            CreationExtras.Key<Application> key = ViewModelProvider.AndroidViewModelFactory.APPLICATION_KEY;
            Application application = getApplication();
            l1l1lIII11I11.III11IIll1lI1(application, "application");
            mutableCreationExtras.set(key, application);
        }
        mutableCreationExtras.set(SavedStateHandleSupport.SAVED_STATE_REGISTRY_OWNER_KEY, this);
        mutableCreationExtras.set(SavedStateHandleSupport.VIEW_MODEL_STORE_OWNER_KEY, this);
        Intent intent = getIntent();
        Bundle extras = intent != null ? intent.getExtras() : null;
        if (extras != null) {
            mutableCreationExtras.set(SavedStateHandleSupport.DEFAULT_ARGS_KEY, extras);
        }
        return mutableCreationExtras;
    }

    @Override
    @lIllI1IIlI11l
    public ViewModelProvider.Factory getDefaultViewModelProviderFactory() {
        return (ViewModelProvider.Factory) this.defaultViewModelProviderFactory$delegate.getValue();
    }

    @Override
    @lIllI1IIlI11l
    public l1IIIllII1I getFullyDrawnReporter() {
        return (l1IIIllII1I) this.fullyDrawnReporter$delegate.getValue();
    }

    @lIIl1Ill111
    @IIlll1Il11llI(message = "Use a {@link androidx.lifecycle.ViewModel} to store non config state.")
    public Object getLastCustomNonConfigurationInstance() {
        lIIl1I1I liil1i1i = (lIIl1I1I) getLastNonConfigurationInstance();
        if (liil1i1i != null) {
            return liil1i1i.IIllIl1llII();
        }
        return null;
    }

    @Override
    @lIllI1IIlI11l
    public Lifecycle getLifecycle() {
        return super.getLifecycle();
    }

    @Override
    @lIllI1IIlI11l
    public final I1I1ll11l1 getOnBackPressedDispatcher() {
        return (I1I1ll11l1) this.onBackPressedDispatcher$delegate.getValue();
    }

    @Override
    @lIllI1IIlI11l
    public final I1Ill1I1II getSavedStateRegistry() {
        return this.savedStateRegistryController.IlllIll1I1I();
    }

    @Override
    @lIllI1IIlI11l
    public ViewModelStore getViewModelStore() {
        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());
        }
        Il11lI1l();
        ViewModelStore viewModelStore = this._viewModelStore;
        l1l1lIII11I11.IllIlI1l1I(viewModelStore);
        return viewModelStore;
    }

    @llll11I1l1II
    public void initializeViewTreeOwners() {
        View decorView = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView, "window.decorView");
        androidx.view.View.set(decorView, this);
        View decorView2 = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView2, "window.decorView");
        C0126ViewTreeViewModelStoreOwner.set(decorView2, this);
        View decorView3 = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView3, "window.decorView");
        IIlIll11lll.IlllIll1I1I(decorView3, this);
        View decorView4 = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView4, "window.decorView");
        l11l11ll.IlllIll1I1I(decorView4, this);
        View decorView5 = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView5, "window.decorView");
        IIIlI11lIll.IlllIll1I1I(decorView5, this);
    }

    @Override
    public void invalidateMenu() {
        invalidateOptionsMenu();
    }

    @Override
    @llll11I1l1II
    @IIlll1Il11llI(message = "This method has been deprecated in favor of using the Activity Result API\n      which brings increased type safety via an {@link ActivityResultContract} and the prebuilt\n      contracts for common intents available in\n      {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for\n      testing, and allow receiving results in separate, testable classes independent from your\n      activity. Use\n      {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)}\n      with the appropriate {@link ActivityResultContract} and handling the result in the\n      {@link ActivityResultCallback#onActivityResult(Object) callback}.")
    protected void onActivityResult(int i, int i2, @lIIl1Ill111 Intent intent) {
        if (this.activityResultRegistry.Il1IlII1(i, i2, intent)) {
            return;
        }
        super.onActivityResult(i, i2, intent);
    }

    @Override
    @IIlI1lII1lI1
    @llll11I1l1II
    @IIlll1Il11llI(message = "This method has been deprecated in favor of using the\n      {@link OnBackPressedDispatcher} via {@link #getOnBackPressedDispatcher()}.\n      The OnBackPressedDispatcher controls how back button events are dispatched\n      to one or more {@link OnBackPressedCallback} objects.")
    public void onBackPressed() {
        getOnBackPressedDispatcher().IIl1I11I1lI1l();
    }

    @Override
    @llll11I1l1II
    public void onConfigurationChanged(@lIllI1IIlI11l Configuration configuration) {
        l1l1lIII11I11.IIl1I11I1lI1l(configuration, "newConfig");
        super.onConfigurationChanged(configuration);
        Iterator<l1IIl1lll1111<Configuration>> it = this.onConfigurationChangedListeners.iterator();
        while (it.hasNext()) {
            it.next().accept(configuration);
        }
    }

    @Override
    protected void onCreate(@lIIl1Ill111 Bundle bundle) {
        this.savedStateRegistryController.lIIl1I1I(bundle);
        this.contextAwareHelper.Il11lI1III1(this);
        super.onCreate(bundle);
        ReportFragment.INSTANCE.injectIfNeededIn(this);
        int i = this.contentLayoutId;
        if (i != 0) {
            setContentView(i);
        }
    }

    @Override
    public boolean onCreatePanelMenu(int i, @lIllI1IIlI11l Menu menu) {
        l1l1lIII11I11.IIl1I11I1lI1l(menu, "menu");
        if (i != 0) {
            return true;
        }
        super.onCreatePanelMenu(i, menu);
        this.menuHostHelper.lI111l1I1llIl(menu, getMenuInflater());
        return true;
    }

    @Override
    public boolean onMenuItemSelected(int i, @lIllI1IIlI11l MenuItem menuItem) {
        l1l1lIII11I11.IIl1I11I1lI1l(menuItem, "item");
        if (super.onMenuItemSelected(i, menuItem)) {
            return true;
        }
        if (i == 0) {
            return this.menuHostHelper.IIll11IllI1l(menuItem);
        }
        return false;
    }

    @Override
    @llll11I1l1II
    @IIlll1Il11llI(message = "Deprecated in android.app.Activity")
    public void onMultiWindowModeChanged(boolean z) {
        if (this.dispatchingOnMultiWindowModeChanged) {
            return;
        }
        Iterator<l1IIl1lll1111<Il1lll1I1Il1>> it = this.onMultiWindowModeChangedListeners.iterator();
        while (it.hasNext()) {
            it.next().accept(new Il1lll1I1Il1(z));
        }
    }

    @Override
    @llll11I1l1II
    protected void onNewIntent(@lIllI1IIlI11l Intent intent) {
        l1l1lIII11I11.IIl1I11I1lI1l(intent, "intent");
        super.onNewIntent(intent);
        Iterator<l1IIl1lll1111<Intent>> it = this.onNewIntentListeners.iterator();
        while (it.hasNext()) {
            it.next().accept(intent);
        }
    }

    @Override
    public void onPanelClosed(int i, @lIllI1IIlI11l Menu menu) {
        l1l1lIII11I11.IIl1I11I1lI1l(menu, "menu");
        this.menuHostHelper.Ill1llIIlIlll(menu);
        super.onPanelClosed(i, menu);
    }

    @Override
    @llll11I1l1II
    @IIlll1Il11llI(message = "Deprecated in android.app.Activity")
    public void onPictureInPictureModeChanged(boolean z) {
        if (this.dispatchingOnPictureInPictureModeChanged) {
            return;
        }
        Iterator<l1IIl1lll1111<I1III11l11I1I>> it = this.onPictureInPictureModeChangedListeners.iterator();
        while (it.hasNext()) {
            it.next().accept(new I1III11l11I1I(z));
        }
    }

    @Override
    public boolean onPreparePanel(int i, @lIIl1Ill111 View view, @lIllI1IIlI11l Menu menu) {
        l1l1lIII11I11.IIl1I11I1lI1l(menu, "menu");
        if (i != 0) {
            return true;
        }
        super.onPreparePanel(i, view, menu);
        this.menuHostHelper.I1Il11llllIl(menu);
        return true;
    }

    @Override
    @llll11I1l1II
    @IIlll1Il11llI(message = "This method has been deprecated in favor of using the Activity Result API\n      which brings increased type safety via an {@link ActivityResultContract} and the prebuilt\n      contracts for common intents available in\n      {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for\n      testing, and allow receiving results in separate, testable classes independent from your\n      activity. Use\n      {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)} passing\n      in a {@link RequestMultiplePermissions} object for the {@link ActivityResultContract} and\n      handling the result in the {@link ActivityResultCallback#onActivityResult(Object) callback}.")
    public void onRequestPermissionsResult(int i, @lIllI1IIlI11l String[] strArr, @lIllI1IIlI11l int[] iArr) {
        l1l1lIII11I11.IIl1I11I1lI1l(strArr, "permissions");
        l1l1lIII11I11.IIl1I11I1lI1l(iArr, "grantResults");
        if (this.activityResultRegistry.Il1IlII1(i, -1, new Intent().putExtra(l1Il11lIII1l.I1Il11llllIl.Il11lI1III1, strArr).putExtra(l1Il11lIII1l.I1Il11llllIl.lIIl1I1I, iArr))) {
            return;
        }
        super.onRequestPermissionsResult(i, strArr, iArr);
    }

    @lIIl1Ill111
    @IIlll1Il11llI(message = "Use a {@link androidx.lifecycle.ViewModel} to store non config state.")
    public Object onRetainCustomNonConfigurationInstance() {
        return null;
    }

    @Override
    @lIIl1Ill111
    public final Object onRetainNonConfigurationInstance() {
        lIIl1I1I liil1i1i;
        Object onRetainCustomNonConfigurationInstance = onRetainCustomNonConfigurationInstance();
        ViewModelStore viewModelStore = this._viewModelStore;
        if (viewModelStore == null && (liil1i1i = (lIIl1I1I) getLastNonConfigurationInstance()) != null) {
            viewModelStore = liil1i1i.IlllIll1I1I();
        }
        if (viewModelStore == null && onRetainCustomNonConfigurationInstance == null) {
            return null;
        }
        lIIl1I1I liil1i1i2 = new lIIl1I1I();
        liil1i1i2.Il11lI1III1(onRetainCustomNonConfigurationInstance);
        liil1i1i2.lIIl1I1I(viewModelStore);
        return liil1i1i2;
    }

    @Override
    @llll11I1l1II
    protected void onSaveInstanceState(@lIllI1IIlI11l Bundle bundle) {
        l1l1lIII11I11.IIl1I11I1lI1l(bundle, "outState");
        if (getLifecycle() instanceof LifecycleRegistry) {
            Lifecycle lifecycle = getLifecycle();
            l1l1lIII11I11.l1llllI11l111(lifecycle, "null cannot be cast to non-null type androidx.lifecycle.LifecycleRegistry");
            ((LifecycleRegistry) lifecycle).setCurrentState(Lifecycle.State.CREATED);
        }
        super.onSaveInstanceState(bundle);
        this.savedStateRegistryController.Il1IlII1(bundle);
    }

    @Override
    @llll11I1l1II
    public void onTrimMemory(int i) {
        super.onTrimMemory(i);
        Iterator<l1IIl1lll1111<Integer>> it = this.onTrimMemoryListeners.iterator();
        while (it.hasNext()) {
            it.next().accept(Integer.valueOf(i));
        }
    }

    @Override
    @llll11I1l1II
    protected void onUserLeaveHint() {
        super.onUserLeaveHint();
        Iterator<Runnable> it = this.onUserLeaveHintListeners.iterator();
        while (it.hasNext()) {
            it.next().run();
        }
    }

    @Override
    @lIIl1Ill111
    public Context peekAvailableContext() {
        return this.contextAwareHelper.lIIl1I1I();
    }

    @Override
    @lIllI1IIlI11l
    public final <I, O> ll11l11Il11<I> registerForActivityResult(@lIllI1IIlI11l llIl1llI1lIl<I, O> llil1lli1lil, @lIllI1IIlI11l Il1llI1l111ll il1llI1l111ll, @lIllI1IIlI11l IllI1IIl1I1l<O> illI1IIl1I1l) {
        l1l1lIII11I11.IIl1I11I1lI1l(llil1lli1lil, "contract");
        l1l1lIII11I11.IIl1I11I1lI1l(il1llI1l111ll, "registry");
        l1l1lIII11I11.IIl1I11I1lI1l(illI1IIl1I1l, IllI1IIIlI.Ill1llIIlIlll);
        return il1llI1l111ll.ll11llIII1111("activity_rq#" + this.nextLocalRequestCode.getAndIncrement(), this, llil1lli1lil, illI1IIl1I1l);
    }

    @Override
    public void removeMenuProvider(@lIllI1IIlI11l II1lI1ll1lll1 iI1lI1ll1lll1) {
        l1l1lIII11I11.IIl1I11I1lI1l(iI1lI1ll1lll1, "provider");
        this.menuHostHelper.ll11llIII1111(iI1lI1ll1lll1);
    }

    @Override
    public final void removeOnConfigurationChangedListener(@lIllI1IIlI11l l1IIl1lll1111<Configuration> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onConfigurationChangedListeners.remove(l1iil1lll1111);
    }

    @Override
    public final void removeOnContextAvailableListener(@lIllI1IIlI11l IllIIIIIl1Il1 illIIIIIl1Il1) {
        l1l1lIII11I11.IIl1I11I1lI1l(illIIIIIl1Il1, "listener");
        this.contextAwareHelper.Il1IlII1(illIIIIIl1Il1);
    }

    @Override
    public final void removeOnMultiWindowModeChangedListener(@lIllI1IIlI11l l1IIl1lll1111<Il1lll1I1Il1> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onMultiWindowModeChangedListeners.remove(l1iil1lll1111);
    }

    @Override
    public final void removeOnNewIntentListener(@lIllI1IIlI11l l1IIl1lll1111<Intent> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onNewIntentListeners.remove(l1iil1lll1111);
    }

    @Override
    public final void removeOnPictureInPictureModeChangedListener(@lIllI1IIlI11l l1IIl1lll1111<I1III11l11I1I> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onPictureInPictureModeChangedListeners.remove(l1iil1lll1111);
    }

    @Override
    public final void removeOnTrimMemoryListener(@lIllI1IIlI11l l1IIl1lll1111<Integer> l1iil1lll1111) {
        l1l1lIII11I11.IIl1I11I1lI1l(l1iil1lll1111, "listener");
        this.onTrimMemoryListeners.remove(l1iil1lll1111);
    }

    @Override
    public final void removeOnUserLeaveHintListener(@lIllI1IIlI11l Runnable runnable) {
        l1l1lIII11I11.IIl1I11I1lI1l(runnable, "listener");
        this.onUserLeaveHintListeners.remove(runnable);
    }

    @Override
    public void reportFullyDrawn() {
        try {
            if (IllIII1lIlII1.Ill1llIIlIlll()) {
                IllIII1lIlII1.Il11lI1III1("reportFullyDrawn() for ComponentActivity");
            }
            super.reportFullyDrawn();
            getFullyDrawnReporter().lIIl1I1I();
            IllIII1lIlII1.lI11111lI1();
        } catch (Throwable th) {
            IllIII1lIlII1.lI11111lI1();
            throw th;
        }
    }

    @Override
    public void setContentView(@I1l1l1llll1Il int i) {
        initializeViewTreeOwners();
        Il1IlII1 il1IlII1 = this.reportFullyDrawnExecutor;
        View decorView = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView, "window.decorView");
        il1IlII1.II1IllIlI1(decorView);
        super.setContentView(i);
    }

    @Override
    @IIlll1Il11llI(message = "This method has been deprecated in favor of using the Activity Result API\n      which brings increased type safety via an {@link ActivityResultContract} and the prebuilt\n      contracts for common intents available in\n      {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for\n      testing, and allow receiving results in separate, testable classes independent from your\n      activity. Use\n      {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)}\n      passing in a {@link StartActivityForResult} object for the {@link ActivityResultContract}.")
    public void startActivityForResult(@lIllI1IIlI11l Intent intent, int i) {
        l1l1lIII11I11.IIl1I11I1lI1l(intent, "intent");
        super.startActivityForResult(intent, i);
    }

    @Override
    @IIlll1Il11llI(message = "This method has been deprecated in favor of using the Activity Result API\n      which brings increased type safety via an {@link ActivityResultContract} and the prebuilt\n      contracts for common intents available in\n      {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for\n      testing, and allow receiving results in separate, testable classes independent from your\n      activity. Use\n      {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)}\n      passing in a {@link StartIntentSenderForResult} object for the\n      {@link ActivityResultContract}.")
    public void startIntentSenderForResult(@lIllI1IIlI11l IntentSender intentSender, int i, @lIIl1Ill111 Intent intent, int i2, int i3, int i4) throws IntentSender.SendIntentException {
        l1l1lIII11I11.IIl1I11I1lI1l(intentSender, "intent");
        super.startIntentSenderForResult(intentSender, i, intent, i2, i3, i4);
    }

    @Override
    public void addMenuProvider(@lIllI1IIlI11l II1lI1ll1lll1 iI1lI1ll1lll1, @lIllI1IIlI11l LifecycleOwner lifecycleOwner) {
        l1l1lIII11I11.IIl1I11I1lI1l(iI1lI1ll1lll1, "provider");
        l1l1lIII11I11.IIl1I11I1lI1l(lifecycleOwner, "owner");
        this.menuHostHelper.lIIl1I1I(iI1lI1ll1lll1, lifecycleOwner);
    }

    @Override
    @IIlll1Il11llI(message = "This method has been deprecated in favor of using the Activity Result API\n      which brings increased type safety via an {@link ActivityResultContract} and the prebuilt\n      contracts for common intents available in\n      {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for\n      testing, and allow receiving results in separate, testable classes independent from your\n      activity. Use\n      {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)}\n      passing in a {@link StartActivityForResult} object for the {@link ActivityResultContract}.")
    public void startActivityForResult(@lIllI1IIlI11l Intent intent, int i, @lIIl1Ill111 Bundle bundle) {
        l1l1lIII11I11.IIl1I11I1lI1l(intent, "intent");
        super.startActivityForResult(intent, i, bundle);
    }

    @Override
    @IIlll1Il11llI(message = "This method has been deprecated in favor of using the Activity Result API\n      which brings increased type safety via an {@link ActivityResultContract} and the prebuilt\n      contracts for common intents available in\n      {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for\n      testing, and allow receiving results in separate, testable classes independent from your\n      activity. Use\n      {@link #registerForActivityResult(ActivityResultContract, ActivityResultCallback)}\n      passing in a {@link StartIntentSenderForResult} object for the\n      {@link ActivityResultContract}.")
    public void startIntentSenderForResult(@lIllI1IIlI11l IntentSender intentSender, int i, @lIIl1Ill111 Intent intent, int i2, int i3, int i4, @lIIl1Ill111 Bundle bundle) throws IntentSender.SendIntentException {
        l1l1lIII11I11.IIl1I11I1lI1l(intentSender, "intent");
        super.startIntentSenderForResult(intentSender, i, intent, i2, i3, i4, bundle);
    }

    @Override
    @SuppressLint({"LambdaLast"})
    public void addMenuProvider(@lIllI1IIlI11l II1lI1ll1lll1 iI1lI1ll1lll1, @lIllI1IIlI11l LifecycleOwner lifecycleOwner, @lIllI1IIlI11l Lifecycle.State state) {
        l1l1lIII11I11.IIl1I11I1lI1l(iI1lI1ll1lll1, "provider");
        l1l1lIII11I11.IIl1I11I1lI1l(lifecycleOwner, "owner");
        l1l1lIII11I11.IIl1I11I1lI1l(state, "state");
        this.menuHostHelper.Il1IlII1(iI1lI1ll1lll1, lifecycleOwner, state);
    }

    @Override
    @l1l1lI1IIl1I(api = 26)
    @llll11I1l1II
    public void onMultiWindowModeChanged(boolean z, @lIllI1IIlI11l Configuration configuration) {
        l1l1lIII11I11.IIl1I11I1lI1l(configuration, "newConfig");
        this.dispatchingOnMultiWindowModeChanged = true;
        try {
            super.onMultiWindowModeChanged(z, configuration);
            this.dispatchingOnMultiWindowModeChanged = false;
            Iterator<l1IIl1lll1111<Il1lll1I1Il1>> it = this.onMultiWindowModeChangedListeners.iterator();
            while (it.hasNext()) {
                it.next().accept(new Il1lll1I1Il1(z, configuration));
            }
        } catch (Throwable th) {
            this.dispatchingOnMultiWindowModeChanged = false;
            throw th;
        }
    }

    @Override
    @l1l1lI1IIl1I(api = 26)
    @llll11I1l1II
    public void onPictureInPictureModeChanged(boolean z, @lIllI1IIlI11l Configuration configuration) {
        l1l1lIII11I11.IIl1I11I1lI1l(configuration, "newConfig");
        this.dispatchingOnPictureInPictureModeChanged = true;
        try {
            super.onPictureInPictureModeChanged(z, configuration);
            this.dispatchingOnPictureInPictureModeChanged = false;
            Iterator<l1IIl1lll1111<I1III11l11I1I>> it = this.onPictureInPictureModeChangedListeners.iterator();
            while (it.hasNext()) {
                it.next().accept(new I1III11l11I1I(z, configuration));
            }
        } catch (Throwable th) {
            this.dispatchingOnPictureInPictureModeChanged = false;
            throw th;
        }
    }

    @Override
    @lIllI1IIlI11l
    public final <I, O> ll11l11Il11<I> registerForActivityResult(@lIllI1IIlI11l llIl1llI1lIl<I, O> llil1lli1lil, @lIllI1IIlI11l IllI1IIl1I1l<O> illI1IIl1I1l) {
        l1l1lIII11I11.IIl1I11I1lI1l(llil1lli1lil, "contract");
        l1l1lIII11I11.IIl1I11I1lI1l(illI1IIl1I1l, IllI1IIIlI.Ill1llIIlIlll);
        return registerForActivityResult(llil1lli1lil, this.activityResultRegistry, illI1IIl1I1l);
    }

    @Override
    public void setContentView(@lIIl1Ill111 View view) {
        initializeViewTreeOwners();
        Il1IlII1 il1IlII1 = this.reportFullyDrawnExecutor;
        View decorView = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView, "window.decorView");
        il1IlII1.II1IllIlI1(decorView);
        super.setContentView(view);
    }

    @Override
    public void setContentView(@lIIl1Ill111 View view, @lIIl1Ill111 ViewGroup.LayoutParams layoutParams) {
        initializeViewTreeOwners();
        Il1IlII1 il1IlII1 = this.reportFullyDrawnExecutor;
        View decorView = getWindow().getDecorView();
        l1l1lIII11I11.III11IIll1lI1(decorView, "window.decorView");
        il1IlII1.II1IllIlI1(decorView);
        super.setContentView(view, layoutParams);
    }

    @ll1lII1IIIl
    public lI1l11ll11I(@I1l1l1llll1Il int i) {
        this();
        this.contentLayoutId = i;
    }
}