commit | 11a4b650d5b5203045d82f37a10b2eb7623cf639 | [log] [tgz] |
---|---|---|
author | Chiao Cheng <chiaocheng@google.com> | Mon Sep 02 01:08:19 2013 -0700 |
committer | Chiao Cheng <chiaocheng@google.com> | Tue Sep 03 10:58:44 2013 -0700 |
tree | 612d4966870d3e7a073a6198e9e144308ee6f058 | |
parent | 63eeb187ea3a23d92d6fad5d24d3a861d8e65145 [diff] |
Fix DeadObjectException when bind fails. There is a window of time during install when the service is deleted and installed. During this time, binding to the service may cause a silent service not found error in the log. But this error does not propagate to our application. Check for this case by querying the package manager before trying to bind to the service. Bug: 10569795 Change-Id: Ia58fde001603d0c716a2d1d91890dc31f78034a7