From d5bc144c899dcccabce1edf9998b9d9733478222 Mon Sep 17 00:00:00 2001 From: Helium314 Date: Sun, 25 Jun 2023 16:47:36 +0200 Subject: [PATCH] allow to install debug along release version --- app/build.gradle | 7 ++++++ app/src/debug/res/values/dictionary-pack.xml | 24 ++++++++++++++++++++ app/src/debug/res/values/strings.xml | 7 ++++++ app/src/main/res/layout/more_suggestions.xml | 2 +- 4 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 app/src/debug/res/values/dictionary-pack.xml create mode 100644 app/src/debug/res/values/strings.xml diff --git a/app/build.gradle b/app/build.gradle index 4eb28048c..fd4394c37 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -20,6 +20,13 @@ android { renderscriptDebuggable false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } + debug { + minifyEnabled false + jniDebuggable false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + applicationIdSuffix ".debug" + } + archivesBaseName = "openboard_" + defaultConfig.versionName } diff --git a/app/src/debug/res/values/dictionary-pack.xml b/app/src/debug/res/values/dictionary-pack.xml new file mode 100644 index 000000000..790ab5aa1 --- /dev/null +++ b/app/src/debug/res/values/dictionary-pack.xml @@ -0,0 +1,24 @@ + + + + org.dslul.openboard.inputmethod.latin.debug + + org.dslul.openboard.inputmethod.debug.dictionarypack.aosp + diff --git a/app/src/debug/res/values/strings.xml b/app/src/debug/res/values/strings.xml new file mode 100644 index 000000000..0c0e89fda --- /dev/null +++ b/app/src/debug/res/values/strings.xml @@ -0,0 +1,7 @@ + + + OpenBoard debug + OpenBoard debug Spell Checker + OpenBoard debug Settings + + diff --git a/app/src/main/res/layout/more_suggestions.xml b/app/src/main/res/layout/more_suggestions.xml index 55d4eddc6..ff1fdc745 100644 --- a/app/src/main/res/layout/more_suggestions.xml +++ b/app/src/main/res/layout/more_suggestions.xml @@ -25,7 +25,7 @@ android:orientation="vertical" >