Refactor PermissionManager.SPLIT_PERMISSIONS
Creating a SystemConfig from a non-system process is taking 500+ ms. This CL instead exposes the needed split permissions from system_server to optimize performance. Tested locally and creating PermissionManager / retrieving SystemConfig is now less than 1 ms. Bug: 139828734 Bug: 139485700 Fixes: 139828734 Test: Added systrace / logs to PermissionController app and traced runtime of onGrantDefaultRoles(). Merged-In: I111403e8dae3bc2b0acafc32e61aa5cd890fea29 Change-Id: I111403e8dae3bc2b0acafc32e61aa5cd890fea29 (cherry picked from commit f69c71e25889d8a9d66da05ee0f386d7fb626c6c)
Loading
Please register or sign in to comment