diff options
author | Felipe Leme <felipeal@google.com> | 2019-10-29 18:03:18 -0700 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2019-11-08 10:30:35 +0000 |
commit | b286462f6859ee4fd5f890e37cd614361d1696b1 (patch) | |
tree | 3cbae9b9eac2aff4ac0eb69a2b5e714210c06ae5 /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | 766c011ff0526f6a6d0c818caa5ac5237e71b8af (diff) |
DO NOT MERGE - Removed FLAG_EPHEMERAL from pre-created users.
When a User is pre-created with that flag, its CE & DE keys are not persisted on storage. Hence,
when that pre-creatd user is converted to full-user, the expected keys don't exist and the user
doesn't boot properly.
This change fix the issue by making the pre-created user non-ephemeral, and changing it to
ephemeral when it's converted to a "real" user.
Test: manual verification on Automotive by creating a new user than deleting it using the UI -
that creates and switches to a new guest user (which was pre-created); without this change,
that user would be hanging with a "Android is starting..." message
Bug: 143092698
Fixes: 143553590
Change-Id: If595b29356b5b50c812f2888cda6e636f18a0d4b
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions