Public volumes belong to a single user. am: 8b38d083c4
am: f91147036f
Change-Id: Idf89bd6bda908ed50fad583f93c4f3c4aa783729
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user