Skip to content
Commit cc3c2d99 authored by kholoud mohamed's avatar kholoud mohamed Committed by Kholoud Mohamed
Browse files

Fix bug in CrossProfileApps#canInteractAcrossProfiles

Changed canInteractAcrossProfiles to check that all other profiles have the appop enabled to return true,
previously it only checked the appop for the calling uid, which should
theoretically be always in sync with the other profiles, but we got a
bug were it wasn't in sync for an unidentified reason.

Test: atest com.android.cts.devicepolicy.CrossProfileAppsPermissionHostSideTest
Bug: 182396357
Bug: 183188804
Change-Id: Ied170ee87358ffa248bf4315d93a736f7307a3b2
parent 9aeedf48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment