commit | 79a89f022d4e2f372b048b36e056fbaf496e3874 | [log] [tgz] |
---|---|---|
author | kholoud mohamed <[email protected]> | Wed Jan 15 15:30:07 2020 +0000 |
committer | kholoud mohamed <[email protected]> | Tue Jan 21 14:28:46 2020 +0000 |
tree | 881a9192474cef85a7ac2505682c874b4b034465 | |
parent | 30bf54729bfd2daf21eda0550f1d774f976e2fb0 [diff] |
Add a checks for _ACROSS_PROFILES apppop or permission. Use hasPermissionOrAppOpForPreflight to check for INTERACT_ACROSS_PROFILES permission or appop rather than only checking for the permission. BUG: 140728653 BUG: 136249261 Test: atest CrossProfileAppsPermissionHostSideTest Test: atest CrossProfileAppsHostSideTest Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest Test: atest ContextCrossProfileHostTest Change-Id: I81d428d47afd54f294ef9bb44133004762840d09