From c16aef7b007a5f8842db5df090d4eef87e171a29 Mon Sep 17 00:00:00 2001 From: Gerhard Olsson Date: Sun, 14 Jul 2019 00:03:44 +0200 Subject: [PATCH] Remove Runnerup alpha In 2.0 development builds have been published as runnerup.alpha, so it could be installed together with the Play version. This had a few side effects, especially for the Froyo build, where "Up" navigation in the navigation menu failed (Back is OK). As a replacement, debug builds set a ".debug" suffix so it can be installed with release builds. --- app/AndroidManifest.xml | 16 ++++++++-------- app/assets/changes.html | 5 +++++ app/build.gradle | 4 +++- app/res/xml/settings.xml | 10 +++++----- build.gradle | 4 +--- wear/build.gradle | 1 - 6 files changed, 22 insertions(+), 18 deletions(-) diff --git a/app/AndroidManifest.xml b/app/AndroidManifest.xml index a90a016d9..a26209fd0 100644 --- a/app/AndroidManifest.xml +++ b/app/AndroidManifest.xml @@ -114,7 +114,7 @@ + android:value=".view.MainLayout"/> + android:value=".view.MainLayout"/> + android:value=".view.MainLayout"/> + android:value=".view.AccountListActivity"/> @@ -164,7 +164,7 @@ + android:value=".view.MainLayout"/> @@ -203,7 +203,7 @@ + android:value=".view.AccountListActivity"/> + android:value=".view.SettingsActivity"/> + android:value=".view.SettingsActivity"/> diff --git a/app/assets/changes.html b/app/assets/changes.html index 3fed19041..19953ec25 100644 --- a/app/assets/changes.html +++ b/app/assets/changes.html @@ -5,6 +5,11 @@

What's new

+

v2.0.0.7

+

+

    +
  • #799 Froyo startup fix
  • +

v2.0.0.6

    diff --git a/app/build.gradle b/app/build.gradle index fa6e0b25f..e1be15d71 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -77,7 +77,6 @@ android { } defaultConfig { - applicationIdSuffix rootProject.ext.applicationIdSuffix applicationId = doExtractStringFromManifest("package") vectorDrawables.useSupportLibrary = true //By default all AppCompat translations are included, saves 350KB @@ -91,6 +90,9 @@ android { } buildTypes { + debug { + applicationIdSuffix ".debug" + } release { minifyEnabled true shrinkResources true diff --git a/app/res/xml/settings.xml b/app/res/xml/settings.xml index f210e0cd7..0923d8e44 100644 --- a/app/res/xml/settings.xml +++ b/app/res/xml/settings.xml @@ -41,7 +41,7 @@ android:key="cue_configure_hr" android:title="@string/Heart_Rate_Monitor"> @@ -49,7 +49,7 @@ android:key="@string/cue_configure_hrzones" android:title="@string/Heart_Rate_Zones"> @@ -244,7 +244,7 @@ android:title="@string/Accounts" android:summary="@string/Configure_accounts"> @@ -260,7 +260,7 @@ android:title="@string/Audio_cues" android:summary="@string/Configure_audio_cues"> @@ -273,7 +273,7 @@ android:title="@string/Manage_workouts" android:summary="@string/Downloadeditremove_workouts"> diff --git a/build.gradle b/build.gradle index a62287241..0521d5a82 100644 --- a/build.gradle +++ b/build.gradle @@ -30,10 +30,8 @@ project.ext { junitVersion = '4.12' mockitoVersion = '2.3.7' - versionName = '2.0.0.6' + versionName = '2.0.0.7' versionCode = 200 - //Set a specific name to this app. Also need to be changed in settings.xml - applicationIdSuffix = ".alpha" travisBuild = System.getenv("TRAVIS") == "true" // allows for -Dpre-dex=false to be set diff --git a/wear/build.gradle b/wear/build.gradle index 97fcc4297..3e9dc309b 100644 --- a/wear/build.gradle +++ b/wear/build.gradle @@ -6,7 +6,6 @@ android { buildToolsVersion rootProject.ext.buildToolsVersion defaultConfig { - applicationIdSuffix rootProject.ext.applicationIdSuffix minSdkVersion 23 targetSdkVersion rootProject.ext.compileSdkVersion versionName rootProject.ext.versionName