DSU: Only try to install on sdcard if the filesystem in use is vfat
IsExternalStoragePath() in gsid only allows vfat Test: m; Install DSU on a device using exFAT for external sdcard Change-Id: I6073b268ead79d684422e4ef1fa3873713dd602e
This commit is contained in:
@@ -91,6 +91,10 @@ public class DynamicSystemService extends IDynamicSystemService.Stub {
|
||||
if (!volume.isMountedWritable()) {
|
||||
continue;
|
||||
}
|
||||
// gsid only supports vfat external storage.
|
||||
if (!"vfat".equalsIgnoreCase(volume.fsType)) {
|
||||
continue;
|
||||
}
|
||||
DiskInfo disk = volume.getDisk();
|
||||
long mega = disk.size >> 20;
|
||||
Slog.i(TAG, volume.getPath() + ": " + mega + " MB");
|
||||
|
||||
Reference in New Issue
Block a user