Merge "[Catalyst] Implement get{Read,Write}Permissions for Screen attention" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ba8348c6a2
@@ -77,6 +77,10 @@ class AdaptiveSleepPreference :
|
|||||||
|
|
||||||
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