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

Commit 1fa7c082 authored by Felipe Leme's avatar Felipe Leme Committed by android-build-merger
Browse files

Merge \\\"Check for valid paths when getVolumeList() returns invisible...

Merge \\\"Check for valid paths when getVolumeList() returns invisible volumes.\\\" into nyc-dev am: 6da2fb61 am: 6c6668d7
am: 9746d590

Change-Id: If2e56bd88bbef294b7595dc7f95d9d20421e880b
parents d197b6eb 9746d590
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;