I don't have a way to test this, but maybe you can give it a try
and see if it fixes as described in the issue.
This commit is contained in:
bunnie 2023-03-24 23:08:50 +08:00
parent f4fabc3f8e
commit cd0269036d

View file

@ -307,6 +307,7 @@ impl XousEnv {
}; };
let update = buf.to_original::<Ctap1Request, _>().unwrap(); let update = buf.to_original::<Ctap1Request, _>().unwrap();
let app_id_str = hex::encode(update.app_id); let app_id_str = hex::encode(update.app_id);
if update.app_id != [0u8; 32] {
// note the access // note the access
let mut info = { let mut info = {
// fetch the application info, if it exists // fetch the application info, if it exists
@ -382,6 +383,9 @@ impl XousEnv {
_ => log::error!("Error updating app atime"), _ => log::error!("Error updating app atime"),
} }
pddb.sync().ok(); pddb.sync().ok();
} else {
log::warn!("app_id is all 0's; bypassing name association");
}
log::debug!("sycing UI state..."); log::debug!("sycing UI state...");
xous::send_message( xous::send_message(