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

Commit fef33579 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Disable eject button for StubVolumes"

parents d1dfefff d24047fd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -236,7 +236,8 @@ public class ExternalStorageProvider extends FileSystemProvider {
                root.flags |= Root.FLAG_REMOVABLE_USB;
            }

            if (volume.getType() != VolumeInfo.TYPE_EMULATED) {
            if (volume.getType() != VolumeInfo.TYPE_EMULATED
                    && volume.getType() != VolumeInfo.TYPE_STUB) {
                root.flags |= Root.FLAG_SUPPORTS_EJECT;
            }