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

Commit f709f7f5 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 am: c7ef98ea am: 9f3f6b22

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



Change-Id: I9b0c8b85630a77f2f965b0a68576af9af9c53c04
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents b7c71e8d 9f3f6b22
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");