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

Commit 9746d590 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

Change-Id: I793e09ca16706784d6f2a261ceb3b3adbe4096f6
parents 248a1c2d 6c6668d7
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;