Merge "DSU: Only try to install on sdcard if the filesystem in use is vfat" am: 0f8d10381a am: e851a32f38
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2070007 Change-Id: I6d1c14f4ed89aebfdf25143eb8673d24788fc519 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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