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:
Brahmaji K 2016-03-07 11:13:17 +05:30 committed by Gerrit - the friendly Code Review server
parent 03edde796d
commit a96f3f54d1
1 changed files with 1 additions and 1 deletions

View File

@ -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);