From 268a88b50f1923c59df007bdbda8a285aec13a41 Mon Sep 17 00:00:00 2001 From: Jeff Boek Date: Wed, 12 Jun 2019 15:16:21 -0700 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/382 - Include Marshmellow in the guard.. --- .../main/java/org/mozilla/fenix/settings/SettingsFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt b/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt index 43221c9a0a..d3d646eabf 100644 --- a/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt +++ b/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt @@ -87,7 +87,7 @@ class SettingsFragment : PreferenceFragmentCompat(), AccountObserver { preferenceManager.sharedPreferences.registerOnSharedPreferenceChangeListener(preferenceChangeListener) - if (android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.LOLLIPOP) { + if (android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.M) { findPreference(getString(R.string.pref_key_make_default_browser))?.apply { isVisible = false }