Closes #26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature.
This commit is contained in:
parent
5358e9b878
commit
fd96263345
|
@ -887,6 +887,9 @@ class Settings(private val appContext: Context) : PreferencesHolder {
|
|||
default = { mr2022Sections[Mr2022Section.JUMP_BACK_IN_CFR] == true },
|
||||
)
|
||||
|
||||
/**
|
||||
* Returns a sitePermissions action for the provided [feature].
|
||||
*/
|
||||
fun getSitePermissionsPhoneFeatureAction(
|
||||
feature: PhoneFeature,
|
||||
default: Action = Action.ASK_TO_ALLOW,
|
||||
|
@ -924,6 +927,9 @@ class Settings(private val appContext: Context) : PreferencesHolder {
|
|||
default: AutoplayAction = AutoplayAction.BLOCKED,
|
||||
) = preferences.getInt(feature.getPreferenceKey(appContext), default.toInt()).toAutoplayAction()
|
||||
|
||||
/**
|
||||
* Sets a sitePermissions action for the provided [feature].
|
||||
*/
|
||||
fun setSitePermissionsPhoneFeatureAction(
|
||||
feature: PhoneFeature,
|
||||
value: Action,
|
||||
|
|
Loading…
Reference in New Issue