Merge "DSU: Only try to install on sdcard if the filesystem in use is vfat"
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user