Disable app chooser by default

This commit is contained in:
M66B 2023-08-23 11:03:53 +02:00
parent 56c470f03f
commit ed97b03511
2 changed files with 2 additions and 2 deletions

View File

@ -2630,7 +2630,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
swDupMsgId.setChecked(prefs.getBoolean("dup_msgids", false));
swThreadByRef.setChecked(prefs.getBoolean("thread_byref", true));
swMdn.setChecked(prefs.getBoolean("mdn", swExperiments.isChecked()));
swAppChooser.setChecked(prefs.getBoolean("app_chooser", true));
swAppChooser.setChecked(prefs.getBoolean("app_chooser", false));
swDeleteConfirmation.setChecked(prefs.getBoolean("delete_confirmation", true));
etKeywords.setText(prefs.getString("global_keywords", null));
swTestIab.setChecked(prefs.getBoolean("test_iab", false));

View File

@ -942,7 +942,7 @@ public class Helper {
static Intent getChooser(Context context, Intent intent) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean app_chooser = prefs.getBoolean("app_chooser", true);
boolean app_chooser = prefs.getBoolean("app_chooser", false);
if (!app_chooser)
return intent;