Support remote directories in authfs_service
Also take advantage of the new nested type in AIDL.
Bug: 205750213
Test: Can use the API locally
Change-Id: I8f7e63dedeb6dd72433f70807dcc65288c702097
diff --git a/compos/src/compilation.rs b/compos/src/compilation.rs
index 1499d4b..72dca14 100644
--- a/compos/src/compilation.rs
+++ b/compos/src/compilation.rs
@@ -23,8 +23,11 @@
use crate::fsverity;
use authfs_aidl_interface::aidl::com::android::virt::fs::{
- AuthFsConfig::AuthFsConfig, IAuthFs::IAuthFs, IAuthFsService::IAuthFsService,
- InputFdAnnotation::InputFdAnnotation, OutputFdAnnotation::OutputFdAnnotation,
+ AuthFsConfig::{
+ AuthFsConfig, InputFdAnnotation::InputFdAnnotation, OutputFdAnnotation::OutputFdAnnotation,
+ },
+ IAuthFs::IAuthFs,
+ IAuthFsService::IAuthFsService,
};
use authfs_aidl_interface::binder::{ParcelFileDescriptor, Strong};
use compos_aidl_interface::aidl::com::android::compos::FdAnnotation::FdAnnotation;
@@ -148,6 +151,8 @@
.iter()
.map(|fd| OutputFdAnnotation { fd: *fd })
.collect(),
+ inputDirFdAnnotations: vec![],
+ outputDirFdAnnotations: vec![],
}
}