Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8c44db9e authored by Omar Eissa's avatar Omar Eissa
Browse files

Pass volume with correct user id to StorageSessionController

When remounting public volumes, we pass the volume after setting its
mount user id to the new user, it's going to be mounted to. This is
incorrect, as it doesn't really allow StorageSessionController
clean up the old session from the old user, but tries to clean it up
from the new user which doesn't do thing at the end.

Luckily, we rely on vold to do the real logic of unmounting fuse paths,
which in turn takes care of existing the corresponding fuse daemon.
But the incorrect clean up could cause some unnecessary delays
when further reset operation happens, as we try to kill stale sessions.

Bug: 327173406
Bug: 369519866
Test: atest StorageManagerService & manual
Flag: EXEMPT bug fix
Change-Id: Ie4851f316ea384433f97da84e47cbcbf4c367a7a
parent d9f8e5f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment