Files
rr3-apk/decompiled-community/sources/com/helpshift/lifecycle/ManualAppLifeCycleTracker.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

40 lines
1.5 KiB
Java

package com.helpshift.lifecycle;
import com.helpshift.core.HSContext;
import com.helpshift.log.HSLogger;
/* loaded from: classes3.dex */
public class ManualAppLifeCycleTracker extends BaseLifeCycleTracker {
public static String TAG = "MALCTracker";
public boolean isAppInForeground;
public ManualAppLifeCycleTracker(HSAppLifeCycleEventsHandler hSAppLifeCycleEventsHandler) {
super(hSAppLifeCycleEventsHandler);
this.isAppInForeground = false;
}
@Override // com.helpshift.lifecycle.BaseLifeCycleTracker
public void onManualAppForegroundAPI() {
if (this.isAppInForeground) {
HSLogger.d(TAG, "Application is already in foreground, so ignore this event");
} else if (HSContext.installCallSuccessful.get()) {
this.isAppInForeground = true;
notifyAppForeground();
} else {
HSLogger.e(TAG, "onManualAppForegroundAPI is called without calling install API");
}
}
@Override // com.helpshift.lifecycle.BaseLifeCycleTracker
public void onManualAppBackgroundAPI() {
if (!this.isAppInForeground) {
HSLogger.d(TAG, "Application is already in background, so ignore this event");
} else if (HSContext.installCallSuccessful.get()) {
this.isAppInForeground = false;
notifyAppBackground();
} else {
HSLogger.e(TAG, "onManualAppBackgroundAPI is called without calling install API");
}
}
}