OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2e477
)
Update re hwservicemanager debugDump semantics.
author
Steven Moreland
<smoreland@google.com>
Tue, 21 Mar 2017 19:17:55 +0000
(12:17 -0700)
committer
Steven Moreland
<smoreland@google.com>
Tue, 21 Mar 2017 20:01:19 +0000
(13:01 -0700)
Test: internal boots, hidl_test, lshal works
Bug:
36414311
Change-Id: I572269a679dea3b6e985227f6727850f7dd33b58
cmds/lshal/Lshal.cpp
patch
|
blob
|
history
diff --git
a/cmds/lshal/Lshal.cpp
b/cmds/lshal/Lshal.cpp
index
8750147
..
51a8682
100644
(file)
--- a/
cmds/lshal/Lshal.cpp
+++ b/
cmds/lshal/Lshal.cpp
@@
-456,6
+456,9
@@
Status Lshal::fetchPassthrough(const sp<IServiceManager> &manager) {
using namespace ::android::hidl::base::V1_0;
auto ret = timeoutIPC(manager, &IServiceManager::debugDump, [&] (const auto &infos) {
for (const auto &info : infos) {
+ if (info.clientPids.size() <= 0) {
+ continue;
+ }
putEntry(PTSERVICEMANAGER_REG_CLIENT, {
.interfaceName =
std::string{info.interfaceName.c_str()} + "/" +