From 3fd3468be598d08ac6c24b850ae0bfe1c3fde60a Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 6 Aug 2019 11:55:46 +1000 Subject: [PATCH 1/5] Fix HTTPS issue --- AndroidManifest.xml | 1 + res/xml/network_security_configuration.xml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 res/xml/network_security_configuration.xml diff --git a/AndroidManifest.xml b/AndroidManifest.xml index aae196556..248d96863 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -91,6 +91,7 @@ android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" + android:networkSecurityConfig="@xml/network_security_configuration" tools:replace="android:allowBackup" android:allowBackup="false" android:theme="@style/TextSecure.DarkTheme" diff --git a/res/xml/network_security_configuration.xml b/res/xml/network_security_configuration.xml new file mode 100644 index 000000000..2ca3c5921 --- /dev/null +++ b/res/xml/network_security_configuration.xml @@ -0,0 +1,8 @@ + + + + imaginary.stream + storage.seed1.loki.network + storage.seed2.loki.network + + \ No newline at end of file From 90056fe6705ab6b629aa90580cb784c3e08e6347 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 6 Aug 2019 13:20:45 +1000 Subject: [PATCH 2/5] Disable experience upgrade prompts --- .../securesms/PassphraseRequiredActionBarActivity.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/org/thoughtcrime/securesms/PassphraseRequiredActionBarActivity.java b/src/org/thoughtcrime/securesms/PassphraseRequiredActionBarActivity.java index f296107da..63ac891dd 100644 --- a/src/org/thoughtcrime/securesms/PassphraseRequiredActionBarActivity.java +++ b/src/org/thoughtcrime/securesms/PassphraseRequiredActionBarActivity.java @@ -152,9 +152,11 @@ public abstract class PassphraseRequiredActionBarActivity extends BaseActionBarA return STATE_WELCOME_SCREEN; } else if (!TextSecurePreferences.hasPromptedPushRegistration(this)) { return STATE_PROMPT_PUSH_REGISTRATION; - } else if (ExperienceUpgradeActivity.isUpdate(this)) { - return STATE_EXPERIENCE_UPGRADE; - } else { + } +// else if (ExperienceUpgradeActivity.isUpdate(this)) { +// return STATE_EXPERIENCE_UPGRADE; +// } + else { return STATE_NORMAL; } } From ac37bdd1c35a2556eb3291fd69dc1f74ff729259 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 6 Aug 2019 13:21:05 +1000 Subject: [PATCH 3/5] Update build number --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c3e03cd99..38779b450 100644 --- a/build.gradle +++ b/build.gradle @@ -192,7 +192,7 @@ android { } defaultConfig { - versionCode 4 + versionCode 5 versionName "1.0.0" minSdkVersion 21 From 017fae1f71ec81859be381a043a5db73dd0c0887 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 6 Aug 2019 14:20:23 +1000 Subject: [PATCH 4/5] Disable unused permissions --- AndroidManifest.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 248d96863..be8b6be0f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -28,12 +28,12 @@ - + @@ -82,7 +82,7 @@ - + From 932bceb82568e84e029d28672f0cb409ea7b6654 Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Tue, 6 Aug 2019 14:20:36 +1000 Subject: [PATCH 5/5] Update build number --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 38779b450..bbc92de6b 100644 --- a/build.gradle +++ b/build.gradle @@ -192,7 +192,7 @@ android { } defaultConfig { - versionCode 5 + versionCode 6 versionName "1.0.0" minSdkVersion 21