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>
This commit is contained in:
LuK1337
2022-12-06 12:25:05 +01:00
committed by SkyMinus
parent 6f02eeb749
commit 961fa5a5c0

View File

@@ -2915,8 +2915,6 @@ class PasswordManager(object):
missing.append(i) missing.append(i)
# Are all the passwords already in the file? # Are all the passwords already in the file?
if not missing: if not missing:
if "ANDROID_SECURE_STORAGE_CMD" in os.environ:
del os.environ["ANDROID_SECURE_STORAGE_CMD"]
return current return current
for i in missing: for i in missing: