Merge "[Catalyst] Implement get{Read,Write}Permissions for Always show time and info" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
6e27501831
@@ -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