From 715908d14e8c558a8ab6bb6494bce6288e453956 Mon Sep 17 00:00:00 2001 From: Kaarel Kaljurand Date: Sat, 18 Jul 2020 14:45:56 +0200 Subject: [PATCH] Add android.permission.QUERY_ALL_PACKAGES (Android v11) + small fixes --- app/build.gradle | 11 +++++++---- app/src/main/AndroidManifest.xml | 7 +++---- .../ioc/phon/android/speak/model/RecService.java | 15 +++++++++++---- .../ee/ioc/phon/android/speak/utils/Utils.java | 4 ++-- build.gradle | 2 +- 5 files changed, 24 insertions(+), 15 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d0ae4841..7df6941d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,8 +26,8 @@ android { applicationId 'ee.ioc.phon.android.speak' minSdkVersion 16 targetSdkVersion 30 - versionCode 1733 - versionName '1.7.33' + versionCode 1734 + versionName '1.7.34' vectorDrawables.useSupportLibrary = true // Keep only en and et resources resConfigs "en", "et" @@ -85,6 +85,7 @@ if (project.hasProperty('storePassword') && android.signingConfigs.release.storePassword = storePassword android.signingConfigs.release.keyPassword = keyPassword } else { + println "WARNING: The release will not be signed" android.buildTypes.release.signingConfig = null } @@ -97,11 +98,13 @@ task deploy { def version = android.defaultConfig.versionName + def name = 'K6nele' + def outputs = 'build/outputs/' def apk1 = outputs + 'apk/release/app-release.apk' - def apk2 = "${deploy_dir}K6nele-${version}.apk" + def apk2 = "${deploy_dir}${name}-${version}.apk" def mapping1 = outputs + 'mapping/release/mapping.txt' - def mapping2 = "${deploy_dir}K6nele-mapping-${version}.txt" + def mapping2 = "${deploy_dir}${name}-mapping-${version}.txt" exec { commandLine 'cp', '--verbose', apk1, apk2 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 85b27c24..1df5f350 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -42,14 +42,13 @@ -