summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android/androidmanager.cpp')
-rw-r--r--src/plugins/android/androidmanager.cpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/plugins/android/androidmanager.cpp b/src/plugins/android/androidmanager.cpp
index e77c38ea26..fd5e442cdb 100644
--- a/src/plugins/android/androidmanager.cpp
+++ b/src/plugins/android/androidmanager.cpp
@@ -278,18 +278,15 @@ QString packageSubPath(PackageFormat format, BuildConfiguration::BuildType build
const bool deb = (buildType == BuildConfiguration::Debug);
if (format == Apk) {
- if (deb)
+ if (deb) {
return sig ? packageSubPath(Apk, BuildConfiguration::Release, true) // Intentional
: QLatin1String("apk/debug/android-build-debug.apk");
- else
- return QLatin1String(sig ? "apk/release/android-build-release-signed.apk"
- : "apk/release/android-build-release-unsigned.apk");
- } else {
- return QLatin1String(deb ? "bundle/debug/android-build-debug.aab"
- : "bundle/release/android-build-release.aab");
+ }
+ return QLatin1String(sig ? "apk/release/android-build-release-signed.apk"
+ : "apk/release/android-build-release-unsigned.apk");
}
-
- return {};
+ return QLatin1String(deb ? "bundle/debug/android-build-debug.aab"
+ : "bundle/release/android-build-release.aab");
}
FilePath AndroidManager::packagePath(const Target *target)