diff options
| author | 2023-01-09 14:12:35 +0000 | |
|---|---|---|
| committer | 2023-01-09 14:12:35 +0000 | |
| commit | f9e7fdc38e53579d867575bed1cdb07507fbff68 (patch) | |
| tree | 364dbf7e29ebe669fef5fe520048275fae8ea59b /services/coverage/java | |
| parent | 719d7559001aa6ece0d6e9fa59eed9d4550314d9 (diff) | |
Prevent removing the target user during a user switch.
This CL prevents removing the target user and allows removing the
user that has been switched away. Let's say we're switching from
userA to userB, before this CL during the switch it was possible to
remove userB and it wasn't possible to remove userA. After this CL
this problem is fixed.
This CL also disables REMOVE_GUEST_ON_EXIT while running
UserLifecycleStressTest.switchToExistingGuestAndStartOverStressTest,
and restores it back after the test.
Bug: 264667155
Test: atest FrameworksServicesTests:com.android.server.pm.UserLifecycleStressTest#switchToExistingGuestAndStartOverStressTest
Change-Id: I802191492adc7a60c7c43ea7651a124d2a8425da
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions