When loading profile, do not initially set default profile as parent.
author Jekyll Wu
()
committer Kurt Hindenburg
()
commit 5f3fd09c27e925c28f78b12ffe173c1e844ebf64
tree b509ae5f2f735e49aa1f5c33072b2f143a23e2c6
parent 27d65589b4c6a71a08d2d4f674177e96738d56a7
When loading profile, do not initially set default profile as parent.

The old code will cause problem if the loaded profile does not specify
its parent explicitly. That loaded profile will have current default
profile as its parent, which means its behavior changes if another
profile is set as the default profile . A good example is the 'Shell'
profile.

The new code initially sets fallback profile as parent, which guarantees
the behavior of 'Shell' profile is stable.

BUG: 279863
(cherry picked from commit cb6a87a9b45a24e020e32200ff502790ef70c99a)
src/SessionManager.cpp