Merge "Introducing StubVolume in StorageManager" am: b499af866c

am: eb871cc916

Change-Id: I69240d32659b511aec0e1e029fb6c6f1ab455c9c
This commit is contained in:
Risan
2018-11-13 11:57:12 -08:00
committed by android-build-merger
6 changed files with 24 additions and 11 deletions

View File

@@ -184,7 +184,8 @@ public class ExternalStorageProvider extends FileSystemProvider {
title = mStorageManager.getBestVolumeDescription(privateVol);
storageUuid = StorageManager.convert(privateVol.fsUuid);
}
} else if (volume.getType() == VolumeInfo.TYPE_PUBLIC
} else if ((volume.getType() == VolumeInfo.TYPE_PUBLIC
|| volume.getType() == VolumeInfo.TYPE_STUB)
&& volume.getMountUserId() == userId) {
rootId = volume.getFsUuid();
title = mStorageManager.getBestVolumeDescription(volume);