Merge "Hide eject icon of removable media when it's emulated volume"
am: 7f656092df
Change-Id: Icf28f47946aeb9f808041b90893c3543f270f692
This commit is contained in:
@@ -222,7 +222,7 @@ public class ExternalStorageProvider extends FileSystemProvider {
|
||||
root.flags |= Root.FLAG_REMOVABLE_USB;
|
||||
}
|
||||
|
||||
if (!VolumeInfo.ID_EMULATED_INTERNAL.equals(volume.getId())) {
|
||||
if (volume.getType() != VolumeInfo.TYPE_EMULATED) {
|
||||
root.flags |= Root.FLAG_SUPPORTS_EJECT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user