APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:GPS Status
版本号:11.3.314
包名称:com.eclipsim.gpsstatus2

MD5 校验值:1307767a726185fc43c57c361d8f8db9

反编译源代码说明

f0.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package j1;

import android.content.res.Resources;
import android.os.Bundle;
import android.os.Parcelable;
import android.util.AndroidRuntimeException;
import android.util.Log;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import androidx.constraintlayout.helper.widget.gPY.TVfZ;
import ca.gbNB.sVXbwUjcR;
import com.eclipsim.gpsstatus2.R;
import i2.KQ.dixlqwylpDnb;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Objects;
import java.util.UUID;
import java.util.WeakHashMap;
import o0.VPJh.zKFHvFlELeXJYe;
import o0.p0;
import p5.j4;
import r4.cn.SaOMQxLwqPaYK;
import t9.kIh.aLRwqpWjKLGWS;

public final class f0 {

    public final j4 f3404a;

    public final a8.a f3405b;

    public final n f3406c;

    public boolean f3407d = false;

    public int f3408e = -1;

    public f0(j4 j4Var, a8.a aVar, n nVar) {
        this.f3404a = j4Var;
        this.f3405b = aVar;
        this.f3406c = nVar;
    }

    public f0(j4 j4Var, a8.a aVar, n nVar, e0 e0Var) {
        this.f3404a = j4Var;
        this.f3405b = aVar;
        this.f3406c = nVar;
        nVar.f3476s = null;
        nVar.f3477t = null;
        nVar.H = 0;
        nVar.E = false;
        nVar.B = false;
        n nVar2 = nVar.f3481x;
        nVar.f3482y = nVar2 != null ? nVar2.f3479v : null;
        nVar.f3481x = null;
        Bundle bundle = e0Var.C;
        if (bundle != null) {
            nVar.f3475r = bundle;
        } else {
            nVar.f3475r = new Bundle();
        }
    }

    public f0(j4 j4Var, a8.a aVar, ClassLoader classLoader, u uVar, e0 e0Var) {
        this.f3404a = j4Var;
        this.f3405b = aVar;
        n a10 = uVar.a(e0Var.f3394q);
        this.f3406c = a10;
        Bundle bundle = e0Var.f3403z;
        if (bundle != null) {
            bundle.setClassLoader(classLoader);
        }
        a10.H(bundle);
        a10.f3479v = e0Var.f3395r;
        a10.D = e0Var.f3396s;
        a10.F = true;
        a10.M = e0Var.f3397t;
        a10.N = e0Var.f3398u;
        a10.O = e0Var.f3399v;
        a10.R = e0Var.f3400w;
        a10.C = e0Var.f3401x;
        a10.Q = e0Var.f3402y;
        a10.P = e0Var.A;
        a10.f3468c0 = m1.l.values()[e0Var.B];
        Bundle bundle2 = e0Var.C;
        if (bundle2 != null) {
            a10.f3475r = bundle2;
        } else {
            a10.f3475r = new Bundle();
        }
        if (Log.isLoggable(zKFHvFlELeXJYe.eXMGlJzcmTsb, 2)) {
            Objects.toString(a10);
        }
    }

    public final void a() {
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        Bundle bundle = nVar.f3475r;
        nVar.K.I();
        nVar.f3474q = 3;
        nVar.U = true;
        if (Log.isLoggable("FragmentManager", 3)) {
            nVar.toString();
        }
        View view = nVar.W;
        if (view != null) {
            Bundle bundle2 = nVar.f3475r;
            SparseArray<Parcelable> sparseArray = nVar.f3476s;
            if (sparseArray != null) {
                view.restoreHierarchyState(sparseArray);
                nVar.f3476s = null;
            }
            if (nVar.W != null) {
                nVar.f3470e0.f3425s.b(nVar.f3477t);
                nVar.f3477t = null;
            }
            nVar.U = false;
            nVar.C(bundle2);
            if (!nVar.U) {
                throw new AndroidRuntimeException("Fragment " + nVar + " did not call through to super.onViewStateRestored()");
            }
            if (nVar.W != null) {
                nVar.f3470e0.c(m1.k.ON_CREATE);
            }
        }
        nVar.f3475r = null;
        z zVar = nVar.K;
        zVar.f3533y = false;
        zVar.f3534z = false;
        zVar.F.f3387g = false;
        zVar.s(4);
        this.f3404a.f(false);
    }

    public final void b() {
        View view;
        View view2;
        a8.a aVar = this.f3405b;
        aVar.getClass();
        n nVar = this.f3406c;
        ViewGroup viewGroup = nVar.V;
        int i10 = -1;
        if (viewGroup != null) {
            ArrayList arrayList = (ArrayList) aVar.f303r;
            int indexOf = arrayList.indexOf(nVar);
            int i11 = indexOf - 1;
            while (true) {
                if (i11 < 0) {
                    while (true) {
                        indexOf++;
                        if (indexOf >= arrayList.size()) {
                            break;
                        }
                        n nVar2 = (n) arrayList.get(indexOf);
                        if (nVar2.V == viewGroup && (view = nVar2.W) != null) {
                            i10 = viewGroup.indexOfChild(view);
                            break;
                        }
                    }
                } else {
                    n nVar3 = (n) arrayList.get(i11);
                    if (nVar3.V == viewGroup && (view2 = nVar3.W) != null) {
                        i10 = viewGroup.indexOfChild(view2) + 1;
                        break;
                    }
                    i11--;
                }
            }
        }
        nVar.V.addView(nVar.W, i10);
    }

    public final void c() {
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        n nVar2 = nVar.f3481x;
        a8.a aVar = this.f3405b;
        f0 f0Var = null;
        if (nVar2 != null) {
            f0 f0Var2 = (f0) ((HashMap) aVar.f304s).get(nVar2.f3479v);
            if (f0Var2 == null) {
                throw new IllegalStateException("Fragment " + nVar + " declared target fragment " + nVar.f3481x + " that does not belong to this FragmentManager!");
            }
            nVar.f3482y = nVar.f3481x.f3479v;
            nVar.f3481x = null;
            f0Var = f0Var2;
        } else {
            String str = nVar.f3482y;
            if (str != null && (f0Var = (f0) ((HashMap) aVar.f304s).get(str)) == null) {
                StringBuilder sb = new StringBuilder("Fragment ");
                sb.append(nVar);
                sb.append(" declared target fragment ");
                throw new IllegalStateException(r7.k.c(sb, nVar.f3482y, " that does not belong to this FragmentManager!"));
            }
        }
        if (f0Var != null) {
            f0Var.k();
        }
        z zVar = nVar.I;
        nVar.J = zVar.f3522n;
        nVar.L = zVar.f3524p;
        j4 j4Var = this.f3404a;
        j4Var.n(false);
        ArrayList arrayList = nVar.f3473h0;
        Iterator it = arrayList.iterator();
        if (it.hasNext()) {
            throw t1.a.k(it);
        }
        arrayList.clear();
        nVar.K.b(nVar.J, nVar.c(), nVar);
        nVar.f3474q = 0;
        nVar.U = false;
        nVar.m(nVar.J.f3485v);
        if (!nVar.U) {
            throw new AndroidRuntimeException("Fragment " + nVar + " did not call through to super.onAttach()");
        }
        Iterator it2 = nVar.I.f3520l.iterator();
        while (it2.hasNext()) {
            ((d0) it2.next()).a();
        }
        z zVar2 = nVar.K;
        zVar2.f3533y = false;
        zVar2.f3534z = false;
        zVar2.F.f3387g = false;
        zVar2.s(0);
        j4Var.h(false);
    }

    public final int d() {
        k0 k0Var;
        n nVar = this.f3406c;
        if (nVar.I == null) {
            return nVar.f3474q;
        }
        int i10 = this.f3408e;
        int ordinal = nVar.f3468c0.ordinal();
        int i11 = 6 & 4;
        if (ordinal == 1) {
            i10 = Math.min(i10, 0);
        } else if (ordinal == 2) {
            i10 = Math.min(i10, 1);
        } else if (ordinal == 3) {
            i10 = Math.min(i10, 5);
        } else if (ordinal != 4) {
            i10 = Math.min(i10, -1);
        }
        if (nVar.D) {
            if (nVar.E) {
                i10 = Math.max(this.f3408e, 2);
                View view = nVar.W;
                if (view != null && view.getParent() == null) {
                    i10 = Math.min(i10, 2);
                }
            } else {
                i10 = this.f3408e < 4 ? Math.min(i10, nVar.f3474q) : Math.min(i10, 1);
            }
        }
        if (!nVar.B) {
            i10 = Math.min(i10, 1);
        }
        ViewGroup viewGroup = nVar.V;
        if (viewGroup != null) {
            g f10 = g.f(viewGroup, nVar.k().C());
            f10.getClass();
            k0 d10 = f10.d(nVar);
            r6 = d10 != null ? d10.f3447b : 0;
            Iterator it = f10.f3411c.iterator();
            while (true) {
                if (!it.hasNext()) {
                    k0Var = null;
                    break;
                }
                k0Var = (k0) it.next();
                if (k0Var.f3448c.equals(nVar) && !k0Var.f3451f) {
                    break;
                }
            }
            if (k0Var != null && (r6 == 0 || r6 == 1)) {
                r6 = k0Var.f3447b;
            }
        }
        if (r6 == 2) {
            i10 = Math.min(i10, 6);
        } else if (r6 == 3) {
            i10 = Math.max(i10, 3);
        } else if (nVar.C) {
            i10 = nVar.H > 0 ? Math.min(i10, 1) : Math.min(i10, -1);
        }
        if (nVar.X && nVar.f3474q < 5) {
            i10 = Math.min(i10, 4);
        }
        if (Log.isLoggable("FragmentManager", 2)) {
            Objects.toString(nVar);
        }
        return i10;
    }

    public final void e() {
        Parcelable parcelable;
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        if (nVar.f3467b0) {
            Bundle bundle = nVar.f3475r;
            if (bundle != null && (parcelable = bundle.getParcelable("android:support:fragments")) != null) {
                nVar.K.N(parcelable);
                z zVar = nVar.K;
                zVar.f3533y = false;
                zVar.f3534z = false;
                zVar.F.f3387g = false;
                zVar.s(1);
            }
            nVar.f3474q = 1;
            return;
        }
        j4 j4Var = this.f3404a;
        j4Var.o(false);
        Bundle bundle2 = nVar.f3475r;
        nVar.K.I();
        nVar.f3474q = 1;
        nVar.U = false;
        nVar.f3469d0.a(new c2.a(1, nVar));
        nVar.f3472g0.b(bundle2);
        nVar.n(bundle2);
        nVar.f3467b0 = true;
        if (nVar.U) {
            nVar.f3469d0.d(m1.k.ON_CREATE);
            j4Var.i(false);
        } else {
            throw new AndroidRuntimeException(aLRwqpWjKLGWS.AqvcBkrELIz + nVar + SaOMQxLwqPaYK.Yzsb);
        }
    }

    public final void f() {
        String str;
        n nVar = this.f3406c;
        if (nVar.D) {
            return;
        }
        if (Log.isLoggable("FragmentManager", 3)) {
            Objects.toString(nVar);
        }
        LayoutInflater s8 = nVar.s(nVar.f3475r);
        ViewGroup viewGroup = nVar.V;
        if (viewGroup == null) {
            int i10 = nVar.N;
            if (i10 == 0) {
                viewGroup = null;
            } else {
                if (i10 == -1) {
                    throw new IllegalArgumentException("Cannot create fragment " + nVar + " for a container view with no id");
                }
                viewGroup = (ViewGroup) nVar.I.f3523o.A(i10);
                if (viewGroup == null && !nVar.F) {
                    try {
                        str = nVar.E().getResources().getResourceName(nVar.N);
                    } catch (Resources.NotFoundException unused) {
                        str = dixlqwylpDnb.ZpOwIQhxOVFaR;
                    }
                    throw new IllegalArgumentException("No view found for id 0x" + Integer.toHexString(nVar.N) + " (" + str + ") for fragment " + nVar);
                }
            }
        }
        nVar.V = viewGroup;
        nVar.D(s8, viewGroup, nVar.f3475r);
        View view = nVar.W;
        if (view != null) {
            view.setSaveFromParentEnabled(false);
            nVar.W.setTag(R.id.fragment_container_view_tag, nVar);
            if (viewGroup != null) {
                b();
            }
            if (nVar.P) {
                nVar.W.setVisibility(8);
            }
            View view2 = nVar.W;
            WeakHashMap weakHashMap = p0.f5008a;
            if (view2.isAttachedToWindow()) {
                o0.c0.c(nVar.W);
            } else {
                View view3 = nVar.W;
                view3.addOnAttachStateChangeListener(new b7.q(1, view3));
            }
            nVar.B(nVar.W);
            nVar.K.s(2);
            this.f3404a.t(false);
            int visibility = nVar.W.getVisibility();
            nVar.f().j = nVar.W.getAlpha();
            if (nVar.V != null && visibility == 0) {
                View findFocus = nVar.W.findFocus();
                if (findFocus != null) {
                    nVar.f().f3464k = findFocus;
                    if (Log.isLoggable("FragmentManager", 2)) {
                        findFocus.toString();
                        Objects.toString(nVar);
                    }
                }
                nVar.W.setAlpha(0.0f);
            }
        }
        nVar.f3474q = 2;
    }

    public final void g() {
        boolean z2;
        a8.a aVar;
        o oVar;
        c0 c0Var;
        m1.p0 p0Var;
        n j;
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        boolean z10 = true;
        if (nVar.C && nVar.H <= 0) {
            z2 = true;
            aVar = this.f3405b;
            if (!z2) {
                c0 c0Var2 = (c0) aVar.f305t;
                if (!((c0Var2.f3382b.containsKey(nVar.f3479v) && c0Var2.f3385e) ? c0Var2.f3386f : true)) {
                    String str = nVar.f3482y;
                    if (str != null && (j = aVar.j(str)) != null && j.R) {
                        nVar.f3481x = j;
                    }
                    nVar.f3474q = 0;
                    return;
                }
            }
            oVar = nVar.J;
            if (oVar == null) {
                z10 = ((c0) aVar.f305t).f3386f;
            } else {
                i.j jVar = oVar.f3485v;
                if (jVar != null) {
                    z10 = true ^ jVar.isChangingConfigurations();
                }
            }
            if (!z2 || z10) {
                c0 c0Var3 = (c0) aVar.f305t;
                if (Log.isLoggable("FragmentManager", 3)) {
                    c0Var3.getClass();
                    Objects.toString(nVar);
                }
                HashMap hashMap = c0Var3.f3383c;
                c0Var = (c0) hashMap.get(nVar.f3479v);
                if (c0Var != null) {
                    c0Var.b();
                    hashMap.remove(nVar.f3479v);
                }
                HashMap hashMap2 = c0Var3.f3384d;
                p0Var = (m1.p0) hashMap2.get(nVar.f3479v);
                if (p0Var != null) {
                    p0Var.a();
                    hashMap2.remove(nVar.f3479v);
                }
            }
            nVar.K.k();
            nVar.f3469d0.d(m1.k.ON_DESTROY);
            nVar.f3474q = 0;
            nVar.U = false;
            nVar.f3467b0 = false;
            nVar.U = true;
            if (nVar.U) {
                throw new AndroidRuntimeException("Fragment " + nVar + " did not call through to super.onDestroy()");
            }
            this.f3404a.j(false);
            Iterator it = aVar.l().iterator();
            while (it.hasNext()) {
                f0 f0Var = (f0) it.next();
                if (f0Var != null) {
                    String str2 = nVar.f3479v;
                    n nVar2 = f0Var.f3406c;
                    if (str2.equals(nVar2.f3482y)) {
                        nVar2.f3481x = nVar;
                        nVar2.f3482y = null;
                    }
                }
            }
            String str3 = nVar.f3482y;
            if (str3 != null) {
                nVar.f3481x = aVar.j(str3);
            }
            aVar.x(this);
            return;
        }
        z2 = false;
        aVar = this.f3405b;
        if (!z2) {
        }
        oVar = nVar.J;
        if (oVar == null) {
        }
        if (!z2) {
        }
        c0 c0Var32 = (c0) aVar.f305t;
        if (Log.isLoggable("FragmentManager", 3)) {
        }
        HashMap hashMap3 = c0Var32.f3383c;
        c0Var = (c0) hashMap3.get(nVar.f3479v);
        if (c0Var != null) {
        }
        HashMap hashMap22 = c0Var32.f3384d;
        p0Var = (m1.p0) hashMap22.get(nVar.f3479v);
        if (p0Var != null) {
        }
        nVar.K.k();
        nVar.f3469d0.d(m1.k.ON_DESTROY);
        nVar.f3474q = 0;
        nVar.U = false;
        nVar.f3467b0 = false;
        nVar.U = true;
        if (nVar.U) {
        }
    }

    public final void h() {
        View view;
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        ViewGroup viewGroup = nVar.V;
        if (viewGroup != null && (view = nVar.W) != null) {
            viewGroup.removeView(view);
        }
        nVar.K.s(1);
        if (nVar.W != null) {
            h0 h0Var = nVar.f3470e0;
            h0Var.f();
            if (h0Var.f3424r.f4201c.compareTo(m1.l.f4186s) >= 0) {
                nVar.f3470e0.c(m1.k.ON_DESTROY);
            }
        }
        nVar.f3474q = 1;
        nVar.U = false;
        nVar.q();
        if (!nVar.U) {
            throw new AndroidRuntimeException("Fragment " + nVar + " did not call through to super.onDestroyView()");
        }
        r.k kVar = ((p1.b) new v8.c(nVar.d(), p1.b.f5180d).r(p1.b.class)).f5181b;
        int i10 = kVar.f6307s;
        for (int i11 = 0; i11 < i10; i11++) {
            ((p1.a) kVar.f6306r[i11]).j();
        }
        nVar.G = false;
        this.f3404a.u(false);
        nVar.V = null;
        nVar.W = null;
        nVar.f3470e0 = null;
        nVar.f3471f0.i(null);
        nVar.E = false;
    }

    public final void i() {
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        nVar.f3474q = -1;
        nVar.U = false;
        nVar.r();
        if (!nVar.U) {
            throw new AndroidRuntimeException(TVfZ.CvoSEdIOVlv + nVar + " did not call through to super.onDetach()");
        }
        z zVar = nVar.K;
        if (!zVar.A) {
            zVar.k();
            nVar.K = new z();
        }
        this.f3404a.l(false);
        nVar.f3474q = -1;
        int i10 = 5 & 0;
        nVar.J = null;
        nVar.L = null;
        nVar.I = null;
        if (!nVar.C || nVar.H > 0) {
            c0 c0Var = (c0) this.f3405b.f305t;
            boolean z2 = true;
            if (c0Var.f3382b.containsKey(nVar.f3479v) && c0Var.f3385e) {
                z2 = c0Var.f3386f;
            }
        }
        if (Log.isLoggable("FragmentManager", 3)) {
            Objects.toString(nVar);
        }
        nVar.f3469d0 = new m1.s(nVar);
        nVar.f3472g0 = new a5.z(nVar);
        nVar.f3479v = UUID.randomUUID().toString();
        nVar.B = false;
        nVar.C = false;
        nVar.D = false;
        nVar.E = false;
        nVar.F = false;
        nVar.H = 0;
        nVar.I = null;
        nVar.K = new z();
        nVar.J = null;
        nVar.M = 0;
        nVar.N = 0;
        nVar.O = null;
        nVar.P = false;
        nVar.Q = false;
    }

    public final void j() {
        n nVar = this.f3406c;
        if (nVar.D && nVar.E && !nVar.G) {
            if (Log.isLoggable("FragmentManager", 3)) {
                Objects.toString(nVar);
            }
            nVar.D(nVar.s(nVar.f3475r), null, nVar.f3475r);
            View view = nVar.W;
            if (view != null) {
                view.setSaveFromParentEnabled(false);
                nVar.W.setTag(R.id.fragment_container_view_tag, nVar);
                if (nVar.P) {
                    nVar.W.setVisibility(8);
                }
                nVar.B(nVar.W);
                nVar.K.s(2);
                this.f3404a.t(false);
                nVar.f3474q = 2;
            }
        }
    }

    public final void k() {
        ViewGroup viewGroup;
        ViewGroup viewGroup2;
        ViewGroup viewGroup3;
        boolean z2 = this.f3407d;
        n nVar = this.f3406c;
        if (z2) {
            if (Log.isLoggable("FragmentManager", 2)) {
                Objects.toString(nVar);
                return;
            }
            return;
        }
        try {
            this.f3407d = true;
            while (true) {
                int d10 = d();
                int i10 = nVar.f3474q;
                if (d10 == i10) {
                    if (nVar.f3466a0) {
                        if (nVar.W != null && (viewGroup = nVar.V) != null) {
                            g f10 = g.f(viewGroup, nVar.k().C());
                            if (nVar.P) {
                                if (Log.isLoggable("FragmentManager", 2)) {
                                    f10.getClass();
                                    Objects.toString(nVar);
                                }
                                f10.a(3, 1, this);
                            } else {
                                if (Log.isLoggable("FragmentManager", 2)) {
                                    f10.getClass();
                                    Objects.toString(nVar);
                                }
                                f10.a(2, 1, this);
                            }
                        }
                        z zVar = nVar.I;
                        if (zVar != null && nVar.B && z.E(nVar)) {
                            zVar.f3532x = true;
                        }
                        nVar.f3466a0 = false;
                    }
                    this.f3407d = false;
                    return;
                }
                if (d10 <= i10) {
                    switch (i10 - 1) {
                        case -1:
                            i();
                            break;
                        case 0:
                            g();
                            break;
                        case 1:
                            h();
                            nVar.f3474q = 1;
                            break;
                        case a1.j.FLOAT_FIELD_NUMBER:
                            nVar.E = false;
                            nVar.f3474q = 2;
                            break;
                        case a1.j.INTEGER_FIELD_NUMBER:
                            if (Log.isLoggable("FragmentManager", 3)) {
                                Objects.toString(nVar);
                            }
                            if (nVar.W != null && nVar.f3476s == null) {
                                o();
                            }
                            if (nVar.W != null && (viewGroup3 = nVar.V) != null) {
                                g f11 = g.f(viewGroup3, nVar.k().C());
                                if (Log.isLoggable("FragmentManager", 2)) {
                                    f11.getClass();
                                    Objects.toString(nVar);
                                }
                                f11.a(1, 3, this);
                            }
                            nVar.f3474q = 3;
                            break;
                        case a1.j.LONG_FIELD_NUMBER:
                            q();
                            break;
                        case a1.j.STRING_FIELD_NUMBER:
                            nVar.f3474q = 5;
                            break;
                        case a1.j.STRING_SET_FIELD_NUMBER:
                            l();
                            break;
                    }
                } else {
                    switch (i10 + 1) {
                        case 0:
                            c();
                            break;
                        case 1:
                            e();
                            break;
                        case a1.j.FLOAT_FIELD_NUMBER:
                            j();
                            f();
                            break;
                        case a1.j.INTEGER_FIELD_NUMBER:
                            a();
                            break;
                        case a1.j.LONG_FIELD_NUMBER:
                            if (nVar.W != null && (viewGroup2 = nVar.V) != null) {
                                g f12 = g.f(viewGroup2, nVar.k().C());
                                int b4 = t1.a.b(nVar.W.getVisibility());
                                if (Log.isLoggable("FragmentManager", 2)) {
                                    f12.getClass();
                                    Objects.toString(nVar);
                                }
                                f12.a(b4, 2, this);
                            }
                            nVar.f3474q = 4;
                            break;
                        case a1.j.STRING_FIELD_NUMBER:
                            p();
                            break;
                        case a1.j.STRING_SET_FIELD_NUMBER:
                            nVar.f3474q = 6;
                            break;
                        case a1.j.DOUBLE_FIELD_NUMBER:
                            n();
                            break;
                    }
                }
            }
        } catch (Throwable th) {
            this.f3407d = false;
            throw th;
        }
    }

    public final void l() {
        boolean isLoggable = Log.isLoggable(sVXbwUjcR.KVMCL, 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        nVar.K.s(5);
        if (nVar.W != null) {
            nVar.f3470e0.c(m1.k.ON_PAUSE);
        }
        nVar.f3469d0.d(m1.k.ON_PAUSE);
        nVar.f3474q = 6;
        nVar.U = false;
        nVar.u();
        if (nVar.U) {
            this.f3404a.m(false);
            return;
        }
        throw new AndroidRuntimeException("Fragment " + nVar + " did not call through to super.onPause()");
    }

    public final void m(ClassLoader classLoader) {
        n nVar = this.f3406c;
        Bundle bundle = nVar.f3475r;
        if (bundle == null) {
            return;
        }
        bundle.setClassLoader(classLoader);
        nVar.f3476s = nVar.f3475r.getSparseParcelableArray("android:view_state");
        nVar.f3477t = nVar.f3475r.getBundle("android:view_registry_state");
        nVar.f3482y = nVar.f3475r.getString("android:target_state");
        if (nVar.f3482y != null) {
            nVar.f3483z = nVar.f3475r.getInt("android:target_req_state", 0);
        }
        Boolean bool = nVar.f3478u;
        if (bool != null) {
            nVar.Y = bool.booleanValue();
            nVar.f3478u = null;
        } else {
            nVar.Y = nVar.f3475r.getBoolean("android:user_visible_hint", true);
        }
        if (!nVar.Y) {
            nVar.X = true;
        }
    }

    public final void n() {
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        m mVar = nVar.Z;
        View view = mVar == null ? null : mVar.f3464k;
        if (view != null) {
            if (view != nVar.W) {
                for (ViewParent parent = view.getParent(); parent != null; parent = parent.getParent()) {
                    if (parent != nVar.W) {
                    }
                }
            }
            view.requestFocus();
            if (Log.isLoggable("FragmentManager", 2)) {
                view.toString();
                Objects.toString(nVar);
                Objects.toString(nVar.W.findFocus());
            }
        }
        nVar.f().f3464k = null;
        nVar.K.I();
        nVar.K.w(true);
        nVar.f3474q = 7;
        nVar.U = false;
        nVar.x();
        if (!nVar.U) {
            throw new AndroidRuntimeException("Fragment " + nVar + " did not call through to super.onResume()");
        }
        m1.s sVar = nVar.f3469d0;
        m1.k kVar = m1.k.ON_RESUME;
        sVar.d(kVar);
        if (nVar.W != null) {
            nVar.f3470e0.f3424r.d(kVar);
        }
        z zVar = nVar.K;
        zVar.f3533y = false;
        zVar.f3534z = false;
        zVar.F.f3387g = false;
        zVar.s(7);
        this.f3404a.p(false);
        nVar.f3475r = null;
        nVar.f3476s = null;
        nVar.f3477t = null;
    }

    public final void o() {
        n nVar = this.f3406c;
        if (nVar.W == null) {
            return;
        }
        SparseArray<Parcelable> sparseArray = new SparseArray<>();
        nVar.W.saveHierarchyState(sparseArray);
        if (sparseArray.size() > 0) {
            nVar.f3476s = sparseArray;
        }
        Bundle bundle = new Bundle();
        nVar.f3470e0.f3425s.c(bundle);
        if (bundle.isEmpty()) {
            return;
        }
        nVar.f3477t = bundle;
    }

    public final void p() {
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        nVar.K.I();
        nVar.K.w(true);
        nVar.f3474q = 5;
        nVar.U = false;
        nVar.z();
        if (!nVar.U) {
            throw new AndroidRuntimeException("Fragment " + nVar + " did not call through to super.onStart()");
        }
        m1.s sVar = nVar.f3469d0;
        m1.k kVar = m1.k.ON_START;
        sVar.d(kVar);
        if (nVar.W != null) {
            nVar.f3470e0.f3424r.d(kVar);
        }
        z zVar = nVar.K;
        zVar.f3533y = false;
        zVar.f3534z = false;
        zVar.F.f3387g = false;
        zVar.s(5);
        this.f3404a.r(false);
    }

    public final void q() {
        boolean isLoggable = Log.isLoggable("FragmentManager", 3);
        n nVar = this.f3406c;
        if (isLoggable) {
            Objects.toString(nVar);
        }
        z zVar = nVar.K;
        zVar.f3534z = true;
        zVar.F.f3387g = true;
        zVar.s(4);
        if (nVar.W != null) {
            nVar.f3470e0.c(m1.k.ON_STOP);
        }
        nVar.f3469d0.d(m1.k.ON_STOP);
        nVar.f3474q = 4;
        nVar.U = false;
        nVar.A();
        if (nVar.U) {
            this.f3404a.s(false);
            return;
        }
        throw new AndroidRuntimeException("Fragment " + nVar + " did not call through to super.onStop()");
    }
}