summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorAdam Bookatz <bookatz@google.com>2021-05-14 12:36:49 -0700
committerAdam Bookatz <bookatz@google.com>2021-06-02 10:57:37 -0700
commitef4023a3087d9ffb66639fe5bb380d312d11deb6 (patch)
tree4f2a76ccabaf4ba7fd3e051f27990cce2e74e80c /libs/hwui/renderthread/DrawFrameTask.cpp
parent87d4c9a9ca5ff67beb37230778f8363cbc49db02 (diff)
Slate ephemeral user deletion in systemReady()
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
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions