From 68ed04cd449f250efaa8f0ce1df2c4ad25fdd2c5 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Wed, 10 Jun 2020 20:20:30 +0200 Subject: [PATCH] remove unused device-message, avoid unneeded translations --- res/values/strings.xml | 4 ---- src/org/thoughtcrime/securesms/ConversationListActivity.java | 5 ----- 2 files changed, 9 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index cd09ee7c3..20ca523f7 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -695,9 +695,5 @@ - - You may already have noticed, that there is a hint \"Background connection enabled\" shown by the system.\n\nšŸ‘‰ The hint normally prevents the operating system from killing the connection between Delta Chat and your server.\n\nšŸ‘‰ If the hint disappears without any action on your part, the connection has probably been killed anyway.\nIf you think this is weird, we totally agree - but many manufacturers do exactly that. The site https://dontkillmyapp.com shows some workarounds.\n\nHowever, we are happy that we could improve the receiving of messages in background with this change and could fulfil the requests of many users - thanks for reporting šŸ¤— - You can now enable and disabled the \"Background connection\" as needed at \"Settings / Notifications\". - diff --git a/src/org/thoughtcrime/securesms/ConversationListActivity.java b/src/org/thoughtcrime/securesms/ConversationListActivity.java index f672bf47c..c45e24f35 100644 --- a/src/org/thoughtcrime/securesms/ConversationListActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationListActivity.java @@ -87,11 +87,6 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit // add welcome message dcContext.updateDeviceChats(); - if (dcContext.wasDeviceMsgEverAdded("update1.6.0-h")) { - DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT); - msg.setText(getString(R.string.device_talk_background_connection2_android)); - dcContext.addDeviceMsg("update1.8.0-a", msg); - } setContentView(R.layout.conversation_list_activity);