[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:
@@ -58,8 +58,8 @@ open class MediaVolumePreference :
|
||||
|
||||
override fun isEnabled(context: Context) = super<PreferenceRestrictionMixin>.isEnabled(context)
|
||||
|
||||
override val restrictionKey: String
|
||||
get() = UserManager.DISALLOW_ADJUST_VOLUME
|
||||
override val restrictionKeys
|
||||
get() = arrayOf(UserManager.DISALLOW_ADJUST_VOLUME)
|
||||
|
||||
override fun storage(context: Context): KeyValueStore {
|
||||
val helper = createAudioHelper(context)
|
||||
|
Reference in New Issue
Block a user