Make esed wait until ese_load has completed.
am: 95d4103137

Change-Id: I4817b2055cf3f466e30070140b34825ea0becf7d
diff --git a/esed/esed.cpp b/esed/esed.cpp
index 044a957..01e0eef 100644
--- a/esed/esed.cpp
+++ b/esed/esed.cpp
@@ -19,6 +19,7 @@
 #include <thread>
 
 #include <android-base/logging.h>
+#include <android-base/properties.h>
 #include <hidl/HidlTransportSupport.h>
 #include <utils/StrongPointer.h>
 
@@ -40,6 +41,8 @@
 using android::esed::Weaver;
 
 int main(int /* argc */, char** /* argv */) {
+    LOG(INFO) << "Waiting for property...";
+    android::base::WaitForProperty("init.svc.ese_load", "stopped");
     LOG(INFO) << "Starting esed...";
 
     // Open connection to the eSE