package ῲ.ؿ;

import android.app.Activity;
import android.app.Fragment;
import android.app.FragmentManager;
import android.os.Bundle;
import androidx.lifecycle.Lifecycle;

/* renamed from: ῲ.ؿ.㗗  reason: contains not printable characters */
/* compiled from: ReportFragment */
public class FragmentC1579 extends Fragment {
    /* renamed from: K  reason: contains not printable characters */
    public static void m4129(Activity activity) {
        FragmentManager fragmentManager = activity.getFragmentManager();
        if (fragmentManager.findFragmentByTag("androidx.lifecycle.LifecycleDispatcher.report_fragment_tag") == null) {
            fragmentManager.beginTransaction().add(new FragmentC1579(), "androidx.lifecycle.LifecycleDispatcher.report_fragment_tag").commit();
            fragmentManager.executePendingTransactions();
        }
    }

    public void onActivityCreated(Bundle bundle) {
        super.onActivityCreated(bundle);
        m4130(Lifecycle.Event.ON_CREATE);
    }

    public void onDestroy() {
        super.onDestroy();
        m4130(Lifecycle.Event.ON_DESTROY);
    }

    public void onPause() {
        super.onPause();
        m4130(Lifecycle.Event.ON_PAUSE);
    }

    public void onResume() {
        super.onResume();
        m4130(Lifecycle.Event.ON_RESUME);
    }

    public void onStart() {
        super.onStart();
        m4130(Lifecycle.Event.ON_START);
    }

    public void onStop() {
        super.onStop();
        m4130(Lifecycle.Event.ON_STOP);
    }

    /* renamed from: K  reason: contains not printable characters */
    public final void m4130(Lifecycle.Event event) {
        Activity activity = getActivity();
        if (activity instanceof AbstractC1572) {
            ((AbstractC1572) activity).getLifecycle().m4144(event);
        } else if (activity instanceof AbstractC1574) {
            Lifecycle lifecycle = ((AbstractC1574) activity).getLifecycle();
            if (lifecycle instanceof C1584) {
                ((C1584) lifecycle).m4144(event);
            }
        }
    }
}
