Fix role granting flow.

This change fixes various issues related to the role granting
flow, including adding the SET_PREFERRED_APPLICATIONS permission
to permission controller for roles, fixing typo and permissions
in roles.xml and fixing roles.xml parsing.

Bug: 110557011
Test: build
Change-Id: I7e4e855e8efcda83d58d29054218e7df044b430e
7 files changed
tree: 725fe8611f7a532d88f79e22a72bf906edfaed4c
  1. PermissionController/