summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventReceiver.cpp
diff options
context:
space:
mode:
author Zim <zezeozue@google.com> 2019-12-12 16:22:27 +0000
committer Zim <zezeozue@google.com> 2019-12-12 16:44:48 +0000
commitd4de636cdf86cec202b4d365c55814fe8ea3be34 (patch)
tree0fccc55f21779a7334937613e00b7ee1590478b5 /libs/gui/DisplayEventReceiver.cpp
parent15d82e51f9c6257ebc0588ca8b314405c83a71f5 (diff)
Use lower filesystem path when destroying user data with FUSE
With the FUSE prop enabled, when a user is removed, the upper filesystem path would have been unmounted before installd gets to delete its content and an empty tmpfs will be deleted instead, leaving the content on the lower filesystem. Now, we always use the lower filesystem when deleting the users dir and cache. This is fine on devices without sdcardfs but on devices running sdcardfs, we should use the sdcardfs path instead to avoid VFS inode cache inconsistencies Test: adb shell pm create-user && adb shell am start-user 10 && adb shell pm delete-user. Verify that /data/media/10 is deleted Bug: 135341433 Change-Id: Iaeb9ea3db373d358251644a95b3390cfa2b8f24a
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions