mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Move check to job method.
This commit is contained in:
committed by
Greyson Parrelli
parent
fa425567bf
commit
861ef4d708
@@ -254,10 +254,7 @@ public class ApplicationContext extends Application implements AppForegroundObse
|
||||
AppDependencies.getShakeToReport().enable();
|
||||
checkBuildExpiration();
|
||||
MemoryTracker.start();
|
||||
|
||||
if (RemoteConfig.messageBackups()) {
|
||||
AppDependencies.getJobManager().add(BackupSubscriptionCheckJob.create());
|
||||
}
|
||||
BackupSubscriptionCheckJob.enqueueIfAble();
|
||||
|
||||
long lastForegroundTime = SignalStore.misc().getLastForegroundTime();
|
||||
long currentTime = System.currentTimeMillis();
|
||||
|
||||
Reference in New Issue
Block a user