summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2019-10-03 11:17:49 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-10-03 11:17:49 -0700
commit17187997d58af7ebfe14e43a953a6abab76f6290 (patch)
tree45d77acfd44997bb48f2af873c844788231746b0
parentdb399424085242dbfd4c92aeb128fca09e6ca0b1 (diff)
parentc10ecd60869f876bc285bcd760134fa94ae43b63 (diff)
downloadlibhidl-17187997d58af7ebfe14e43a953a6abab76f6290.tar.gz
Merge "Add sleep in unsafe path."
am: c10ecd6086 Change-Id: Ie81b409fbd98389198801c75230c71a40303f34a
-rw-r--r--transport/ServiceManagement.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/transport/ServiceManagement.cpp b/transport/ServiceManagement.cpp
index bb690f4..2442590 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++) {