commit | 5c3cd03d2dab8c414b03cf3d6d0645c7ca6dc0d6 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Thu Feb 28 16:57:04 2019 -0800 |
committer | Hai Zhang <zhanghai@google.com> | Thu Feb 28 17:02:26 2019 -0800 |
tree | 28dcb2945c45c54fa344edfbde25753bf1fd6b45 | |
parent | 24f120cf9d6615daaa6465b9f29641018e82dd86 [diff] |
Add PermissionControllerService.isRoleVisible() for app info shortcut. The default app shortcut in app info inside Settings needs to know if a role is visible, and whether it is visible is controlled logic in PermissionController, hence add this API. Also fixed a bug where the visibility config is not properly retrieved. Bug: 124452117 Bug: 124457823 Test: manual Change-Id: I9888696dd36de91044c4fb9658f1c60c94d1801a