[Catalyst] Support multiple restriction keys
NO_IFTTT=Catalyst only Bug: 377600992 Flag: com.android.settings.flags.catalyst Test: testdpc Change-Id: If7212b5402f7e271b7fdbd2a43bed0e11ee6f15f
This commit is contained in:
@@ -71,8 +71,8 @@ class BrightnessLevelPreference :
|
||||
|
||||
override fun isEnabled(context: Context) = super<PreferenceRestrictionMixin>.isEnabled(context)
|
||||
|
||||
override val restrictionKey: String
|
||||
get() = UserManager.DISALLOW_CONFIG_BRIGHTNESS
|
||||
override val restrictionKeys
|
||||
get() = arrayOf(UserManager.DISALLOW_CONFIG_BRIGHTNESS)
|
||||
|
||||
override val useAdminDisabledSummary: Boolean
|
||||
get() = true
|
||||
|
Reference in New Issue
Block a user