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

Commit e851a32f authored by Yi-yo Chiang's avatar Yi-yo Chiang Committed by Automerger Merge Worker
Browse files

Merge "DSU: Only try to install on sdcard if the filesystem in use is vfat" am: 0f8d1038

parents 8371cf9f 0f8d1038
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -91,6 +91,10 @@ public class DynamicSystemService extends IDynamicSystemService.Stub {
                if (!volume.isMountedWritable()) {
                if (!volume.isMountedWritable()) {
                    continue;
                    continue;
                }
                }
                // gsid only supports vfat external storage.
                if (!"vfat".equalsIgnoreCase(volume.fsType)) {
                    continue;
                }
                DiskInfo disk = volume.getDisk();
                DiskInfo disk = volume.getDisk();
                long mega = disk.size >> 20;
                long mega = disk.size >> 20;
                Slog.i(TAG, volume.getPath() + ": " + mega + " MB");
                Slog.i(TAG, volume.getPath() + ": " + mega + " MB");