Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e275018 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Catalyst] Implement get{Read,Write}Permissions for Always show time and info" into main

parents 0fef86f3 1f5b0e9a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -71,6 +71,10 @@ class AmbientDisplayAlwaysOnPreference :

    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) =
        ReadWritePermit.ALLOW