mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 17:18:26 +00:00
Fix build
This commit is contained in:
parent
d6cf9b573e
commit
1d2e8072a0
@ -154,8 +154,6 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
|||||||
KeyCachingService.onAppForegrounded(this);
|
KeyCachingService.onAppForegrounded(this);
|
||||||
// Loki - Start long polling if needed
|
// Loki - Start long polling if needed
|
||||||
startLongPollingIfNeeded();
|
startLongPollingIfNeeded();
|
||||||
// Loki - Stop background poll worker if needed
|
|
||||||
stopBackgroundPollingIfNeeded();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -165,8 +163,6 @@ public class ApplicationContext extends MultiDexApplication implements Dependenc
|
|||||||
KeyCachingService.onAppBackgrounded(this);
|
KeyCachingService.onAppBackgrounded(this);
|
||||||
// Loki - Stop long polling if needed
|
// Loki - Stop long polling if needed
|
||||||
if (lokiLongPoller != null) { lokiLongPoller.stopIfNeeded(); }
|
if (lokiLongPoller != null) { lokiLongPoller.stopIfNeeded(); }
|
||||||
// Loki - Start background poll worker if needed
|
|
||||||
startBackgroundPollingIfNeeded();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user