Merge \"Check for valid paths when getVolumeList() returns invisible volumes.\" into nyc-dev
am: 6da2fb61ce
Change-Id: I57e257307eb854d04f298eeefc8a55b55ee6ea78
This commit is contained in:
@@ -3031,7 +3031,8 @@ class MountService extends IMountService.Stub
|
||||
if (forWrite) {
|
||||
match = vol.isVisibleForWrite(userId);
|
||||
} else {
|
||||
match = vol.isVisibleForRead(userId) || includeInvisible;
|
||||
match = vol.isVisibleForRead(userId)
|
||||
|| (includeInvisible && vol.getPath() != null);
|
||||
}
|
||||
if (!match) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user