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:
parent
f04e45daee
commit
6606ce3205
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue