temporarily disable broken HTTPS support in swap
Right now, turning on HTTPS really just prevents things from working. It is not fully required, since swapping is only local connections, so not easily susceptible to mass eavesdropping, though it would be nice. I'm leaving the rest of the plumbing for this here intact for when we come back to getting swap always using HTTPS. closes #378 https://gitlab.com/fdroid/fdroidclient/issues/378
This commit is contained in:
parent
04e318c9ca
commit
303de3d972
@ -52,10 +52,6 @@
|
||||
<EditTextPreference
|
||||
android:key="localRepoName"
|
||||
android:title="@string/local_repo_name" />
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="localRepoHttps"
|
||||
android:title="@string/local_repo_https" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/proxy" >
|
||||
<CheckBoxPreference
|
||||
|
@ -152,7 +152,7 @@ public class Preferences implements SharedPreferences.OnSharedPreferenceChangeLi
|
||||
}
|
||||
|
||||
public boolean isLocalRepoHttpsEnabled() {
|
||||
return preferences.getBoolean(PREF_LOCAL_REPO_HTTPS, DEFAULT_LOCAL_REPO_HTTPS);
|
||||
return false; // disabled until it works well
|
||||
}
|
||||
|
||||
private String getDefaultLocalRepoName() {
|
||||
|
@ -39,7 +39,6 @@ public class PreferencesFragment extends PreferenceFragment
|
||||
Preferences.PREF_IGN_TOUCH,
|
||||
Preferences.PREF_LOCAL_REPO_BONJOUR,
|
||||
Preferences.PREF_LOCAL_REPO_NAME,
|
||||
Preferences.PREF_LOCAL_REPO_HTTPS,
|
||||
Preferences.PREF_LANGUAGE,
|
||||
Preferences.PREF_CACHE_APK,
|
||||
Preferences.PREF_EXPERT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user