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

Commit 50cc6c11 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Public volumes belong to a single user.

am: 6566fbe9

Change-Id: If636376b98c449aee3794259317e39a3f0f7f163
parents 4da8fdaa 6566fbe9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -161,7 +161,8 @@ public class ExternalStorageProvider extends DocumentsProvider {
                    final VolumeInfo privateVol = mStorageManager.findPrivateForEmulated(volume);
                    title = mStorageManager.getBestVolumeDescription(privateVol);
                }
            } else if (volume.getType() == VolumeInfo.TYPE_PUBLIC) {
            } else if (volume.getType() == VolumeInfo.TYPE_PUBLIC
                    && volume.getMountUserId() == userId) {
                rootId = volume.getFsUuid();
                title = mStorageManager.getBestVolumeDescription(volume);
            } else {