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

Commit b11f1481 authored by Daniel Nishi's avatar Daniel Nishi Committed by Android (Google) Code Review
Browse files

Merge "Add findEmulatedForPrivate to the StorageVolumeProvider."

parents 256dac14 7d3af808
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -41,4 +41,9 @@ public class StorageManagerVolumeProvider implements StorageVolumeProvider {
    public List<VolumeInfo> getVolumes() {
    public List<VolumeInfo> getVolumes() {
        return mStorageManager.getVolumes();
        return mStorageManager.getVolumes();
    }
    }

    @Override
    public VolumeInfo findEmulatedForPrivate(VolumeInfo privateVolume) {
        return mStorageManager.findEmulatedForPrivate(privateVolume);
    }
}
}
+5 −0
Original line number Original line Diff line number Diff line
@@ -34,4 +34,9 @@ public interface StorageVolumeProvider {
     * Returns a list of VolumeInfos for the device.
     * Returns a list of VolumeInfos for the device.
     */
     */
    List<VolumeInfo> getVolumes();
    List<VolumeInfo> getVolumes();

    /**
     * Returns the emulated volume for a given private volume.
     */
    VolumeInfo findEmulatedForPrivate(VolumeInfo privateVolume);
}
}