commit | 410ba59a76a8feb48ffb5bde3045ac6f76db0c36 | [log] [tgz] |
---|---|---|
author | Chad Brubaker <cbrubaker@google.com> | Wed Sep 09 20:34:09 2015 -0700 |
committer | Chad Brubaker <cbrubaker@google.com> | Fri Oct 09 13:31:18 2015 -0700 |
tree | d38d1afece977ce4515b9da8f809eb38b40dee6d | |
parent | c2120744da8d0612ad54484b314f94e1e6e3a167 [diff] |
Fix failure to save master key on new profile New profiles use the master key of the parent user for keystore. Unfortunately copyMasterKey only copies the key from the parent to the user in memory but doesn't save it to disk, causing the child user to be uninitialized after a reboot. Bug: 23889443 (cherry picked from commit 79e0f6440aee69659bc01a0669a329dbaeaf471c) Change-Id: I1f148fde3862d22292dfce217aacdc3f70f9c2ef