fix property name "microdroid_manager.apk_root_hash"

Bug: 193504400
Test: second run of microdroid should show
  "Saved root_hash is verified"
Change-Id: I604439c5642fb66ae2b3a465b9dd416284f341ca
This commit is contained in:
Jooyung Han 2021-09-08 14:31:39 +09:00
parent f04e45daee
commit 6606ce3205
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ fn main() -> Result<()> {
let apk = matches.value_of("apk").unwrap();
let idsig = matches.value_of("idsig").unwrap();
let name = matches.value_of("name").unwrap();
let roothash = if let Ok(val) = system_properties::read("microdroid_manager.apk_roothash") {
let roothash = if let Ok(val) = system_properties::read("microdroid_manager.apk_root_hash") {
Some(util::parse_hexstring(&val)?)
} else {
// This failure is not an error. We will use the roothash read from the idsig file.