diff options
| author | 2022-08-01 15:29:27 +0000 | |
|---|---|---|
| committer | 2022-08-11 12:44:07 +0000 | |
| commit | 57a56f9104dd523c6c727c053e8c537753123e09 (patch) | |
| tree | cfe14f836d1b8f1474dc021fc5cfdc4e315f6a53 /libs/androidfw/StringPool.cpp | |
| parent | ec5edadff717b53a2fcec6ebfd962063d2facb59 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions