Make legacy SSL option default to false

This commit is contained in:
Sam Whited 2014-10-19 16:11:35 -04:00
parent 6c7c3ddf15
commit 99ee049115
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@
android:summary="@string/pref_dont_save_encrypted_summary"
android:title="@string/pref_dont_save_encrypted" />
<CheckBoxPreference
android:defaultValue="true"
android:defaultValue="false"
android:key="enable_legacy_ssl"
android:summary="@string/pref_enable_legacy_ssl_summary"
android:title="@string/pref_enable_legacy_ssl" />

View File

@ -517,7 +517,7 @@ public class XmppConnection implements Runnable {
}
private boolean enableLegacySSL() {
return getPreferences().getBoolean("enable_legacy_ssl", true);
return getPreferences().getBoolean("enable_legacy_ssl", false);
}
private void switchOverToTls(Tag currentTag) throws XmlPullParserException,