commit | 096104f346f783c81e27ad52f59438bf1e72505c | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Wed Dec 19 11:20:41 2018 -0800 |
committer | Varun Shah <varunshah@google.com> | Wed Dec 19 11:20:41 2018 -0800 |
tree | fdddd3a6af915e1d461c8900049c2c67093f1122 | |
parent | 183bdcf1d3e764dcf19fb9da38b96bed7f7f52a4 [diff] |
Refactored same profile group check for CrossProfileApps. Moved isSameProfileGroup check to it's own method where the calling identity is cleared so that the calling application doesn't need extra permissions. Bug: 121180087 Test: atest com.android.server.pm.CrossProfileAppsServiceImplTest Change-Id: I36c830136509255b19b7912ea6259e21413caabd