Dear team,
The main purpose of session manager is to launch the startup service and expose the services mentioned in session_manager.cml file.But i have few queries.
1) Where can i find this path ?
/// The path to the configuration file for the session.
const CONFIG_PATH: &str = "/config/data/startup.config";
2) How to check whether the fidl services are actually exposed?
pub async fn expose_services(&mut self) -> Result<(), Error> {
let mut fs = ServiceFs::new_local();
fs.dir("svc")
.add_fidl_service(ExposedServices::ElementManager)
.add_fidl_service(ExposedServices::Launcher)
.add_fidl_service(ExposedServices::Restarter)
.add_fidl_service(ExposedServices::InputDeviceRegistry);
fs.take_and_serve_directory_handle()?;