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
Change-Id: I73dfa5d8a2ed064762440dca0ee1a0115b291a97
1 file changed
tree: 64043ead29a44172a02f7fea3366a5d7a7549d8d
  1. keystore/
  2. keystore-engine/
  3. softkeymaster/