Remove hard coded message backups remote config.

This commit is contained in:
Cody Henthorne
2025-09-22 16:38:01 -04:00
committed by Jeffrey Starke
parent 6976ac7d44
commit 8b2f58e0e7
31 changed files with 58 additions and 220 deletions

View File

@@ -299,10 +299,8 @@ public class ApplicationContext extends Application implements AppForegroundObse
}
public void checkFreeDiskSpace() {
if (RemoteConfig.messageBackups()) {
long availableBytes = BackupRepository.INSTANCE.getFreeStorageSpace().getBytes();
SignalStore.backup().setSpaceAvailableOnDiskBytes(availableBytes);
}
long availableBytes = BackupRepository.INSTANCE.getFreeStorageSpace().getBytes();
SignalStore.backup().setSpaceAvailableOnDiskBytes(availableBytes);
}
/**