From 961fa5a5c0bd32a97adf50c88c36c968fa763691 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Tue, 6 Dec 2022 12:25:05 +0100 Subject: [PATCH] Don't remove ANDROID_SECURE_STORAGE_CMD from env vars We also use it in avbtool. Change-Id: I4737c1815a031d307f6915a73b5f5b1a37b6baaa Signed-off-by: RITEFANG <1721985272@qq.com> --- tools/releasetools/common.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index e3f0395f63..898d1f13c3 100644 --- a/tools/releasetools/common.py +++ b/tools/releasetools/common.py @@ -2915,8 +2915,6 @@ class PasswordManager(object): missing.append(i) # Are all the passwords already in the file? if not missing: - if "ANDROID_SECURE_STORAGE_CMD" in os.environ: - del os.environ["ANDROID_SECURE_STORAGE_CMD"] return current for i in missing: