40 lines
1.2 KiB
Java
40 lines
1.2 KiB
Java
package o;
|
|
|
|
import android.app.Activity;
|
|
import android.app.Application;
|
|
import android.content.Context;
|
|
import android.os.Bundle;
|
|
import androidx.lifecycle.ReportFragment;
|
|
import java.util.concurrent.atomic.AtomicBoolean;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class fHR {
|
|
private static AtomicBoolean b = new AtomicBoolean(false);
|
|
|
|
public static void a(Context context) {
|
|
if (b.getAndSet(true)) {
|
|
return;
|
|
}
|
|
((Application) context.getApplicationContext()).registerActivityLifecycleCallbacks(new RVV());
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
static class RVV extends RlI {
|
|
@Override // o.RlI, android.app.Application.ActivityLifecycleCallbacks
|
|
public final void onActivitySaveInstanceState(Activity activity, Bundle bundle) {
|
|
}
|
|
|
|
@Override // o.RlI, android.app.Application.ActivityLifecycleCallbacks
|
|
public final void onActivityStopped(Activity activity) {
|
|
}
|
|
|
|
RVV() {
|
|
}
|
|
|
|
@Override // o.RlI, android.app.Application.ActivityLifecycleCallbacks
|
|
public final void onActivityCreated(Activity activity, Bundle bundle) {
|
|
ReportFragment.zv_(activity);
|
|
}
|
|
}
|
|
}
|