- 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
32 lines
1.2 KiB
Java
32 lines
1.2 KiB
Java
package com.helpshift.lifecycle;
|
|
|
|
import com.helpshift.core.HSContext;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public class HSAppLifeCycleEventsHandler {
|
|
public void onAppForeground() {
|
|
HSContext.getInstance().getHsThreadingService().runSerial(new Runnable() { // from class: com.helpshift.lifecycle.HSAppLifeCycleEventsHandler.1
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
HSContext hSContext = HSContext.getInstance();
|
|
hSContext.getAnalyticsEventDM().sendAppLaunchEvent();
|
|
hSContext.getAnalyticsEventDM().sendFailedEvents();
|
|
hSContext.sendMigrationFailureLogs();
|
|
if (hSContext.getUserManager().retryPushTokenSync()) {
|
|
return;
|
|
}
|
|
hSContext.getConversationPoller().startPoller();
|
|
}
|
|
});
|
|
}
|
|
|
|
public void onAppBackground() {
|
|
HSContext.getInstance().getHsThreadingService().runSerial(new Runnable() { // from class: com.helpshift.lifecycle.HSAppLifeCycleEventsHandler.2
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
HSContext.getInstance().getConversationPoller().stopPoller();
|
|
}
|
|
});
|
|
}
|
|
}
|