OSDN Git Service

IServiceManager: Improve getService responsiveness in absence of service
authorAndy Hung <hunga@google.com>
Tue, 6 Dec 2016 17:40:01 +0000 (09:40 -0800)
committerAndy Hung <hunga@google.com>
Tue, 6 Dec 2016 21:51:06 +0000 (13:51 -0800)
commit6456e4488d59c0568a1f29dc93b7beb472236086
treecd0bebb13c817f259fce411ffe793e2860e12de2
parentd46a65c3c37e2c8ff80d5d74145f7e2345b61cd2
IServiceManager: Improve getService responsiveness in absence of service

Now blocks for 4 seconds worst case instead of 5 seconds.
Some android devices may not have all the normal android phone services.

Test: Wear device on feldspar-dev
Bug: 33086228
Change-Id: Id83fc8cd6b657b53ef78823a460d5fba4a522ab4
libs/binder/IServiceManager.cpp