Refactor lock screen apps profile creation out of lock_screen_apps::StateController, and improve lock screen apps profile creation logic.
In particular, instead of setting up lock screen profile after primary user's profile initialization, create lock screen profile only when it's really needed - i.e. when the user has installed and enabled a note taking app available on the lock screen.
Comment 1 by bugdroid1@chromium.org
, Oct 5 2017