[Catalyst] Implement get{Read,Write}Permissions for Always show time and info
NO_IFTTT=Catalyst migration Test: devtool Bug: 385272042 Flag: com.android.settings.flags.catalyst_lockscreen_from_display_settings Change-Id: I67513e205113df531accd9f84480d7921144df52
This commit is contained in:
@@ -71,6 +71,10 @@ class AmbientDisplayAlwaysOnPreference :
|
|||||||
|
|
||||||
override fun storage(context: Context): KeyValueStore = Storage(context)
|
override fun storage(context: Context): KeyValueStore = Storage(context)
|
||||||
|
|
||||||
|
override fun getReadPermissions(context: Context) = SettingsSecureStore.getReadPermissions()
|
||||||
|
|
||||||
|
override fun getWritePermissions(context: Context) = SettingsSecureStore.getWritePermissions()
|
||||||
|
|
||||||
override fun getReadPermit(context: Context, callingPid: Int, callingUid: Int) =
|
override fun getReadPermit(context: Context, callingPid: Int, callingUid: Int) =
|
||||||
ReadWritePermit.ALLOW
|
ReadWritePermit.ALLOW
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user