diff options
author | Annie Meng <anniemeng@google.com> | 2019-01-29 20:14:38 +0000 |
---|---|---|
committer | Annie Meng <anniemeng@google.com> | 2019-01-30 21:09:04 +0000 |
commit | 312e7803462bb89d244f6d71ad38ab2c3a71ddf1 (patch) | |
tree | b90d70d76d7ca6a149278d4063db261429569f4e /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 7f2d1a73a895cf51c900da38adf4065b0d10ca2c (diff) |
[Multi-user] Clear calling identity for backup activation
As part of bmgr activate, if the user is unlocked then we attempt to
start the backup service for them. However, as part of initialization,
AMS enforces the system uid so clear calling identity before starting
the service (as we have the shell uid).
Bug: 123572171
Test: 1) atest RunBackupFrameworksServicesRoboTests
2) atest TrampolineTest
3) Manual: Unlock secondary user -> bmgr activate -> no exception thrown
and service started
Change-Id: I441491e19d9f3c9b49b5778d51ae5331230b129b
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions