diff --git a/app/src/main/java/com/stevesoltys/seedvault/transport/backup/PackageService.kt b/app/src/main/java/com/stevesoltys/seedvault/transport/backup/PackageService.kt index 4b66ebf0..2a7844b0 100644 --- a/app/src/main/java/com/stevesoltys/seedvault/transport/backup/PackageService.kt +++ b/app/src/main/java/com/stevesoltys/seedvault/transport/backup/PackageService.kt @@ -154,6 +154,6 @@ internal fun PackageInfo.isNotUpdatedSystemApp(): Boolean { internal fun PackageInfo.doesNotGetBackedUp(): Boolean { if (packageName == MAGIC_PACKAGE_MANAGER || applicationInfo == null) return true - return applicationInfo.flags and FLAG_ALLOW_BACKUP == 0 && // does not allow backup + return applicationInfo.flags and FLAG_ALLOW_BACKUP == 0 || // does not allow backup applicationInfo.flags and FLAG_STOPPED != 0 // is stopped }