Skip to content
Commit 57a56f91 authored by Piyush Mehrotra's avatar Piyush Mehrotra
Browse files

Enfore caller permission check before reading whether a user is ready for backup.

Adds a permission check at the beginning of BackupManagerService#isUserReadyForBackup() which ensures that the caller has appropriate permission ('INTERACT_ACROSS_USERS_FULL') if the target user id doesn't match caller.

Fixes: 230866788
Test: atest -v BackupFrameworksServicesRoboTests

Change-Id: I2423a4baa642901c13e7f18f17bdefa91b42605b
parent ec5edadf
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