commit | bf00e7042647d075ad5379379f4009d4757d2a74 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Mon Mar 29 14:20:17 2021 +0100 |
committer | Zimuzo Ezeozue <zezeozue@google.com> | Thu Apr 01 16:42:15 2021 +0000 |
tree | eb8e5a7afef1b485cfc9bdf97823026be67fbb5f | |
parent | 8d599ec08e5e84b6efc2d67a7662b925e33ab8be [diff] |
Fix secondary volume mounts on user switch If a public volume is mounted when the foreground user is switched, the old user is stopped but the public volume isn't unmounted so the /mnt/user/<old user>/<volume> path still exists but is inaccessible, even after the foreground user is switched back the old user. Now, we remount the public volumes in such cases to fixup the mounts Test: Manual Bug: 183686263 Bug: 171460866 Change-Id: Ic1226229d377d7106bd78798a03adfc9b7f2efb6