Skip to content
Commit b19c9dcd authored by Youkichi Hosoi's avatar Youkichi Hosoi Committed by Risan
Browse files

Handle stub volumes in StorageSessionController

Currently, StorageSessionController.shouldHandle() returns true only for
emulated volumes and public volumes. As a result, even when we call
MountUserFuse() in StubVolume::doMount(), stub volumes for external
storage (MyFiles and removable media) are not covered with the Android
FUSE layer which is required for features like EXIF redaction.
This CL modifies StorageSessionController.shouldHandle() so that stub
volumes can be properly handled by StorageSessionController.

Bug: 123377807
Bug: 123641356
Bug: 132796154
Test: $ ls -lZ /storage | grep CAFEF00D
Test: $ atest MediaStore_Images_MediaTest#testLocationRedaction
Test: Tested in R
Change-Id: I74caa0c16bd0021c561c599616c53076022aa4de
Merged-In: I74caa0c16bd0021c561c599616c53076022aa4de
parent 29823649
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment