ef4023a3087d9ffb66639fe5bb380d312d11deb6
After a reboot, ephemeral users are currently slated for deletion upon UserManager.onBootPhase(PHASE_ACTIVITY_MANAGER_READY). However, ephemeral users are already somewhat removed prior to this, without it being reported, which can cause severe problems. Here, we slate ephemeral users for deletion slightly earlier, in UserManager.systemReady(). Bug: 181291095 Test: atest android.host.multiuser.EphemeralTest#testRebootAndRemoveEphemeralUser_withAccount Test: manual: adb shell pm create-user --ephemeral Ephy switch to the user, connect to the internet, and set up an account reboot the device (from within that ephemeral user) observe no boot-loop Change-Id: I0f60785a1e67945f42d8332ca4d09d06145a3347
…
…
…
Merge "Use keymasterSwEnforcedUserAuthenticators if keymasterHwEnforcedUserAuthenticators is zero." am:
3b2decbb34 am: bc9360ea4e am: 791f088436
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%