Revert^2 "Check the calling user instead of the current user."
This reverts commit ffe0e966f884b1e132c1b09af3b1c7dbda67d640. Reason for revert: Fixed the issue from b/317683513. For a calling profile user, we need to check if its parent user is an admin user. Bug: 315382159 Test: atest BugreportManagerServiceImplTest \ android.bugreport.cts.BugreportManagerTest Test: Manual test Change-Id: I5e570165aed373d38183a66b1f2124bab0b5878d
Loading
Please register or sign in to comment