[app] Disable priv-ext by default for basic flavor
as it isn't allowed to use it and the client isn't currently able to detect this, so all installs fail by default.
This commit is contained in:
parent
fa3686dd81
commit
1599a4d822
|
@ -209,7 +209,9 @@ public final class Preferences implements SharedPreferences.OnSharedPreferenceCh
|
|||
* @see org.fdroid.fdroid.views.PreferencesFragment#initPrivilegedInstallerPreference()
|
||||
*/
|
||||
public boolean isPrivilegedInstallerEnabled() {
|
||||
return preferences.getBoolean(PREF_PRIVILEGED_INSTALLER, true);
|
||||
// only use priv-ext by default with full flavor, because basic isn't allowed to use it
|
||||
// and there's a bug with auto-detection: https://gitlab.com/fdroid/fdroidclient/-/issues/2593
|
||||
return preferences.getBoolean(PREF_PRIVILEGED_INSTALLER, BuildConfig.FLAVOR.equals("full"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue