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

Commit c7ef98ea 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"...

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

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2070007



Change-Id: I9194c4d19a8788b18383f1bf15a6dc0af19c7384
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 87e0d50f a96b70bd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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");