package com.ss.android.ugc.aweme.child;

import X.1oX;
import X.8gF;
import android.os.Bundle;
import com.bytedance.apm.agent.v2.instrumentation.ActivityAgent;
import com.bytedance.covode.number.Covode;
import com.bytedance.sysoptimizer.EnterTransitionCrashOptimizer;

public final class ChildEmptyFinishActivity extends 1oX {
    static {
        Covode.recordClassIndex(55911);
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity, X.1oX, android.app.Activity] */
    public final void onDestroy() {
        8gF.LJ(this);
        ChildEmptyFinishActivity.super.onDestroy();
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [X.1hK, com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity, android.app.Activity] */
    public final void onPause() {
        8gF.LIZJ(this);
        ChildEmptyFinishActivity.super.onPause();
    }

    /* JADX WARNING: type inference failed for: r3v0, types: [X.1hK, com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity, android.app.Activity] */
    public final void onResume() {
        8gF.LIZIZ(this);
        ActivityAgent.onTrace("com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity", "onResume", true);
        ChildEmptyFinishActivity.super.onResume();
        ActivityAgent.onTrace("com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity", "onResume", false);
    }

    /* JADX WARNING: type inference failed for: r0v0, types: [com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity, X.1oX, android.app.Activity] */
    public final void onStart() {
        8gF.LIZ(this);
        ChildEmptyFinishActivity.super.onStart();
    }

    public final void onWindowFocusChanged(boolean z) {
        ActivityAgent.onTrace("com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity", "onWindowFocusChanged", true);
        ChildEmptyFinishActivity.super.onWindowFocusChanged(z);
    }

    /* JADX WARNING: type inference failed for: r1v0, types: [com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity, X.1oX, android.app.Activity] */
    public final void onStop() {
        8gF.LIZLLL(this);
        ChildEmptyFinishActivity.super.onStop();
        if (EnterTransitionCrashOptimizer.getContext() != null) {
            try {
                getWindow().getDecorView().getViewTreeObserver().dispatchOnPreDraw();
            } catch (Throwable unused) {
            }
        }
        try {
            getWindow().getDecorView().getViewTreeObserver().dispatchOnPreDraw();
        } catch (Throwable unused2) {
        }
    }

    /* JADX WARNING: type inference failed for: r3v0, types: [com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity, X.1oX, android.app.Activity] */
    public final void onCreate(Bundle bundle) {
        8gF.LIZ(this, bundle);
        ActivityAgent.onTrace("com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity", "onCreate", true);
        ChildEmptyFinishActivity.super.onCreate(bundle);
        finish();
        ActivityAgent.onTrace("com.ss.android.ugc.aweme.child.ChildEmptyFinishActivity", "onCreate", false);
    }
}
