Disk (Android): ignore /apex/*

This commit is contained in:
李通洲
2024-07-15 22:55:52 +08:00
parent 801bd7c879
commit 25577a6e58
+4
View File
@@ -71,6 +71,10 @@ static bool isPhysicalDevice(const struct mntent* device)
ffStrStartsWith(device->mnt_fsname + 5, "fd") //Ignore fd devices
) return false;
// https://source.android.com/docs/core/ota/apex?hl=zh-cn
if(ffStrStartsWith(device->mnt_dir, "/apex/"))
return false;
#endif // __ANDROID__
return true;