From e3c5e837e1adb530fc36f3f5ff08ce2377b65885 Mon Sep 17 00:00:00 2001 From: Lilia Markham Date: Wed, 27 Mar 2013 20:57:28 -0700 Subject: [PATCH] Remove sign key exchange preference Yet another setting that most users will never touch. Workaround for those who would is to use a different identity key per device. Let this be a sacrifice to the android settings design pattern gods. --- res/xml/preferences.xml | 5 ----- .../securesms/ApplicationPreferencesActivity.java | 1 - .../thoughtcrime/securesms/crypto/KeyExchangeMessage.java | 4 +--- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 748f77ba77..c4d0f14a77 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -66,11 +66,6 @@ android:title="@string/preferences__complete_key_exchanges" android:summary="@string/preferences__automatically_complete_key_exchanges_for_new_sessions_or_for_existing_sessions_with_the_same_identity_key" /> - - = 1) && - PreferenceManager.getDefaultSharedPreferences(context).getBoolean(ApplicationPreferencesActivity.SEND_IDENTITY_PREF, true); + return IdentityKeyUtil.hasIdentityKey(context) && (messageVersion >= 1); }