Merge "Add findEmulatedForPrivate to the StorageVolumeProvider."
This commit is contained in:
@@ -41,4 +41,9 @@ public class StorageManagerVolumeProvider implements StorageVolumeProvider {
|
||||
public List<VolumeInfo> getVolumes() {
|
||||
return mStorageManager.getVolumes();
|
||||
}
|
||||
|
||||
@Override
|
||||
public VolumeInfo findEmulatedForPrivate(VolumeInfo privateVolume) {
|
||||
return mStorageManager.findEmulatedForPrivate(privateVolume);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,4 +34,9 @@ public interface StorageVolumeProvider {
|
||||
* Returns a list of VolumeInfos for the device.
|
||||
*/
|
||||
List<VolumeInfo> getVolumes();
|
||||
|
||||
/**
|
||||
* Returns the emulated volume for a given private volume.
|
||||
*/
|
||||
VolumeInfo findEmulatedForPrivate(VolumeInfo privateVolume);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user