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

应用版本信息
应用名称:Ghostify
版本号:4.0
包名称:com.getghostify

MD5 校验值:a9a821418db4ad35214aeeb08c2f5902

反编译源代码说明

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


package z2;

import android.app.Activity;
import android.app.Application;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.SystemClock;
import java.util.Objects;

public final class o5 implements Application.ActivityLifecycleCallbacks {

    public final p5 f10760k;

    public o5(p5 p5Var) {
        this.f10760k = p5Var;
    }

    @Override
    public final void onActivityCreated(Activity activity, Bundle bundle) {
        Uri data;
        try {
            try {
                ((n4) this.f10760k.f10892k).f().f10608x.a("onActivityCreated");
                Intent intent = activity.getIntent();
                if (intent != null && (data = intent.getData()) != null && data.isHierarchical()) {
                    ((n4) this.f10760k.f10892k).A();
                    String stringExtra = intent.getStringExtra("android.intent.extra.REFERRER_NAME");
                    boolean z8 = true;
                    String str = true != ("android-app://com.google.android.googlequicksearchbox/https/www.google.com".equals(stringExtra) || "https://www.google.com".equals(stringExtra) || "android-app://com.google.appcrawler".equals(stringExtra)) ? "auto" : "gs";
                    String queryParameter = data.getQueryParameter("referrer");
                    if (bundle != null) {
                        z8 = false;
                    }
                    ((n4) this.f10760k.f10892k).c().s(new c2.i(this, z8, data, str, queryParameter));
                }
            } catch (RuntimeException e9) {
                ((n4) this.f10760k.f10892k).f().f10602p.b("Throwable caught in onActivityCreated", e9);
            }
        } finally {
            ((n4) this.f10760k.f10892k).x().r(activity, bundle);
        }
    }

    @Override
    public final void onActivityDestroyed(Activity activity) {
        x5 x8 = ((n4) this.f10760k.f10892k).x();
        synchronized (x8.f10992v) {
            if (activity == x8.f10989q) {
                x8.f10989q = null;
            }
        }
        if (((n4) x8.f10892k).f10730q.x()) {
            x8.f10988p.remove(activity);
        }
    }

    @Override
    public final void onActivityPaused(Activity activity) {
        int i9;
        l4 l4Var;
        Runnable runnable;
        x5 x8 = ((n4) this.f10760k.f10892k).x();
        synchronized (x8.f10992v) {
            x8.u = false;
            i9 = 1;
            x8.f10990r = true;
        }
        Objects.requireNonNull((t2.g4) ((n4) x8.f10892k).f10735x);
        long elapsedRealtime = SystemClock.elapsedRealtime();
        if (((n4) x8.f10892k).f10730q.x()) {
            v5 t8 = x8.t(activity);
            x8.f10986n = x8.f10985m;
            x8.f10985m = null;
            l4 c9 = ((n4) x8.f10892k).c();
            a aVar = new a(x8, t8, elapsedRealtime, 1);
            l4Var = c9;
            runnable = aVar;
        } else {
            x8.f10985m = null;
            l4Var = ((n4) x8.f10892k).c();
            runnable = new f5(x8, elapsedRealtime, i9);
        }
        l4Var.s(runnable);
        s6 z8 = ((n4) this.f10760k.f10892k).z();
        Objects.requireNonNull((t2.g4) ((n4) z8.f10892k).f10735x);
        ((n4) z8.f10892k).c().s(new f5(z8, SystemClock.elapsedRealtime(), 2));
    }

    @Override
    public final void onActivityResumed(Activity activity) {
        int i9;
        int i10;
        s6 z8 = ((n4) this.f10760k.f10892k).z();
        Objects.requireNonNull((t2.g4) ((n4) z8.f10892k).f10735x);
        ((n4) z8.f10892k).c().s(new p0(z8, SystemClock.elapsedRealtime(), 2));
        x5 x8 = ((n4) this.f10760k.f10892k).x();
        synchronized (x8.f10992v) {
            i9 = 1;
            x8.u = true;
            i10 = 0;
            if (activity != x8.f10989q) {
                synchronized (x8.f10992v) {
                    x8.f10989q = activity;
                    x8.f10990r = false;
                }
                if (((n4) x8.f10892k).f10730q.x()) {
                    x8.s = null;
                    ((n4) x8.f10892k).c().s(new l2.b(x8, 2));
                }
            }
        }
        if (!((n4) x8.f10892k).f10730q.x()) {
            x8.f10985m = x8.s;
            ((n4) x8.f10892k).c().s(new c5(x8, i9));
            return;
        }
        x8.m(activity, x8.t(activity), false);
        q1 n9 = ((n4) x8.f10892k).n();
        Objects.requireNonNull((t2.g4) ((n4) n9.f10892k).f10735x);
        ((n4) n9.f10892k).c().s(new p0(n9, SystemClock.elapsedRealtime(), i10));
    }

    @Override
    public final void onActivitySaveInstanceState(Activity activity, Bundle bundle) {
        v5 v5Var;
        x5 x8 = ((n4) this.f10760k.f10892k).x();
        if (!((n4) x8.f10892k).f10730q.x() || bundle == null || (v5Var = (v5) x8.f10988p.get(activity)) == null) {
            return;
        }
        Bundle bundle2 = new Bundle();
        bundle2.putLong("id", v5Var.f10895c);
        bundle2.putString("name", v5Var.f10893a);
        bundle2.putString("referrer_name", v5Var.f10894b);
        bundle.putBundle("com.google.app_measurement.screen_service", bundle2);
    }

    @Override
    public final void onActivityStarted(Activity activity) {
    }

    @Override
    public final void onActivityStopped(Activity activity) {
    }
}