what-the-bank/sources/o/C12787fHQ.java

55 lines
1.7 KiB
Java

package o;
import android.app.Activity;
import android.app.Application;
import android.os.Bundle;
/* renamed from: o.fHQ, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C12787fHQ implements Application.ActivityLifecycleCallbacks {
private int b;
public InterfaceC12839fIn c;
@Override // android.app.Application.ActivityLifecycleCallbacks
public final void onActivityCreated(Activity activity, Bundle bundle) {
}
@Override // android.app.Application.ActivityLifecycleCallbacks
public final void onActivityDestroyed(Activity activity) {
}
@Override // android.app.Application.ActivityLifecycleCallbacks
public final void onActivityPaused(Activity activity) {
}
@Override // android.app.Application.ActivityLifecycleCallbacks
public final void onActivityResumed(Activity activity) {
}
@Override // android.app.Application.ActivityLifecycleCallbacks
public final void onActivitySaveInstanceState(Activity activity, Bundle bundle) {
}
@Override // android.app.Application.ActivityLifecycleCallbacks
public final void onActivityStarted(Activity activity) {
InterfaceC12839fIn interfaceC12839fIn;
if (this.b == 0 && (interfaceC12839fIn = this.c) != null) {
interfaceC12839fIn.V();
}
this.b++;
}
@Override // android.app.Application.ActivityLifecycleCallbacks
public final void onActivityStopped(Activity activity) {
InterfaceC12839fIn interfaceC12839fIn;
int i = this.b - 1;
this.b = i;
if (i == 0 && (interfaceC12839fIn = this.c) != null) {
interfaceC12839fIn.U();
}
if (this.b < 0) {
this.b = 0;
}
}
}