cryptfs_hw: update the listener property with keymaster property
Replace the sys.listener.registered with sys.keymaster.loaded because the keymaster loading is the final operation done by the qseecomd and key operations should wait till the qseecomd initialization completes. Change-Id: I78a2a6941058f8ec6197ef88b324f6178f7ae2fb
This commit is contained in:
parent
03edde796d
commit
a96f3f54d1
|
@ -126,7 +126,7 @@ static int is_qseecom_up()
|
|||
char value[PROPERTY_VALUE_MAX] = {0};
|
||||
|
||||
for (; i<QSEECOM_UP_CHECK_COUNT; i++) {
|
||||
property_get("sys.listeners.registered", value, "");
|
||||
property_get("sys.keymaster.loaded", value, "");
|
||||
if (!strncmp(value, "true", PROPERTY_VALUE_MAX))
|
||||
return 1;
|
||||
usleep(100000);
|
||||
|
|
Loading…
Reference in New Issue