From 0d6409c20c5317e6b65a2beb64d80319232e3123 Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 15 Sep 2020 08:03:08 +0200 Subject: [PATCH] Android: Fix use of commandline arguments to build apk After 69ff17aa2d59, the concealed password was passed to the process. Change-Id: I69aab38e8898e5416231e863484e6702f3357841 Reviewed-by: Alessandro Portale --- src/plugins/android/androidbuildapkstep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/android/androidbuildapkstep.cpp b/src/plugins/android/androidbuildapkstep.cpp index ec729d8fd5f..046f7086f13 100644 --- a/src/plugins/android/androidbuildapkstep.cpp +++ b/src/plugins/android/androidbuildapkstep.cpp @@ -638,7 +638,7 @@ bool AndroidBuildApkStep::init() // Generate arguments with keystore password concealed ProjectExplorer::ProcessParameters pp2; setupProcessParameters(&pp2); - pp->setCommandLine({command, argumentsPasswordConcealed}); + pp2.setCommandLine({command, argumentsPasswordConcealed}); m_command = pp2.effectiveCommand().toString(); m_argumentsPasswordConcealed = pp2.prettyArguments();