Clear old group rings on startup.

This commit is contained in:
Cody Henthorne
2023-02-23 09:05:27 -05:00
parent 1cffd88af2
commit 583f7db554
3 changed files with 7 additions and 0 deletions

View File

@@ -211,6 +211,7 @@ public class ApplicationContext extends MultiDexApplication implements AppForegr
.addPostRender(StoryOnboardingDownloadJob.Companion::enqueueIfNeeded)
.addPostRender(PnpInitializeDevicesJob::enqueueIfNecessary)
.addPostRender(() -> ApplicationDependencies.getExoPlayerPool().getPoolStats().getMaxUnreserved())
.addPostRender(() -> SignalDatabase.groupCallRings().removeOldRings())
.execute();
Log.d(TAG, "onCreate() took " + (System.currentTimeMillis() - startTime) + " ms");