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

Commit c586fcb9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Disable eject button for StubVolumes" am: fef33579 am: e817b6d6 am:...

Merge "Disable eject button for StubVolumes" am: fef33579 am: e817b6d6 am: 2ab13941 am: aed1ec2a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1914530

Change-Id: I9c24e936fbeed05c15c65ff3b5ca671431eab9f5
parents 57b945cd aed1ec2a
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;
            }