Introducing StubVolume in StorageManager
Bug: 110380403 Test: Tested in ARC++ (with Settings and vold changes in separate CLS) - able to see the external storage under StorageSettings. Also tested the sm command to print stubvolumes. Change-Id: I7517260a40399bd9800424bb394512601f6af617
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user