[Perm Sync] Add an API for the companion app to get the perm sync consent

Bug: 309528663

Test: CTS
Change-Id: Id50517977e5f5fcd9806e2bf5b65e4d5cf87d0a9
6 files changed