Merge "Hide eject icon of removable media when it's emulated volume" am: 7f656092df
am: 0fe81d7320
Change-Id: Ia2b865c56a92265151444b4b7310b61c51a9a952
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