summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-10-03 17:52:24 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-10-03 17:52:24 +0000
commitc10ecd60869f876bc285bcd760134fa94ae43b63 (patch)
tree45d77acfd44997bb48f2af873c844788231746b0
parent6b21a983aea586b491f4e267b7a7c2b76cdc3c44 (diff)
parentaadec3cad16944cc9bdb2e56af55b5341a50a44a (diff)
downloadplatform_system_libhidl-c10ecd60869f876bc285bcd760134fa94ae43b63.tar.gz
platform_system_libhidl-c10ecd60869f876bc285bcd760134fa94ae43b63.tar.bz2
platform_system_libhidl-c10ecd60869f876bc285bcd760134fa94ae43b63.zip
Merge "Add sleep in unsafe path."
-rw-r--r--transport/ServiceManagement.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport/ServiceManagement.cpp b/transport/ServiceManagement.cpp
index bb690f41..24425903 100644
--- a/transport/ServiceManagement.cpp
+++ b/transport/ServiceManagement.cpp
@@ -803,6 +803,7 @@ sp<::android::hidl::base::V1_0::IBase> getRawServiceInternal(const std::string&
"enable PRODUCT_ENFORCE_VINTF_MANIFEST on this device (this is also enabled by "
"PRODUCT_FULL_TREBLE). PRODUCT_ENFORCE_VINTF_MANIFEST will ensure that no race "
"condition is possible here.");
+ sleep(1);
}
for (int tries = 0; !getStub && (vintfHwbinder || vintfLegacy); tries++) {