From 16510923d22be8c48bb6c6486fb5be3ee8841c3c Mon Sep 17 00:00:00 2001 From: int3debug <164035730+int3debug@users.noreply.github.com> Date: Mon, 25 Mar 2024 00:41:04 +0100 Subject: [PATCH] fix: No access rights after restore from backup (#1009) Co-authored-by: int3debug --- .../java/com/lagradost/cloudstream3/utils/BackupUtils.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/utils/BackupUtils.kt b/app/src/main/java/com/lagradost/cloudstream3/utils/BackupUtils.kt index 87d17a2b..279a0cb5 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/utils/BackupUtils.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/utils/BackupUtils.kt @@ -40,7 +40,7 @@ import java.io.OutputStream import java.io.PrintWriter import java.lang.System.currentTimeMillis import java.text.SimpleDateFormat -import java.util.* +import java.util.Date object BackupUtils { @@ -68,7 +68,8 @@ object BackupUtils { DOWNLOAD_EPISODE_CACHE, "biometric_key", // can lock down users if backup is shared on a incompatible device - "nginx_user" // Nginx user key + "nginx_user", // Nginx user key + "download_path_key" // No access rights after restore data from backup ) /** false if key should not be contained in backup */