1
0
Fork 0

Show size for (all combined) system apps when restoring

This commit is contained in:
Torsten Grote 2024-05-28 11:15:53 -03:00
parent f5fb9ffffa
commit 9cc72bfa38
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF

View file

@ -71,6 +71,9 @@ internal class AppSelectionManager(
time = restorableBackup.packageMetadataMap.values.maxOf {
if (it.system) it.time else -1
},
size = restorableBackup.packageMetadataMap.values.sumOf {
if (it.system) it.size ?: 0L else 0L
},
system = true,
name = context.getString(R.string.backup_system_apps),
),