Skip to content

Commit

Permalink
Merge pull request #2437 from dimagi/sdfat-format
Browse files Browse the repository at this point in the history
Use sdfat format for SD card availability check
  • Loading branch information
ShivamPokhriyal committed Feb 8, 2021
2 parents c8d3522 + 777a34f commit 3ab1a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/org/commcare/utils/FileUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public static void copyFileDeep(File oldFolder, File newFolder) throws IOExcepti

public static ArrayList<String> getExternalMounts() {
final ArrayList<String> out = new ArrayList<>();
String reg = "(?i).*vold.*(vfat|ntfs|exfat|fat32|ext3|ext4).*rw.*";
String reg = "(?i).*vold.*(vfat|ntfs|exfat|fat32|ext3|ext4|sdfat).*rw.*";
String s = "";
try {
final Process process = new ProcessBuilder().command("mount")
Expand Down

0 comments on commit 3ab1a61

Please sign in to comment.