OSDN Git Service

docs: Revised descriptions of binding and connecting to services.
authorKevin Hufnagle <khufnagle@google.com>
Thu, 29 Jun 2017 22:58:48 +0000 (15:58 -0700)
committerKevin Hufnagle <khufnagle@google.com>
Tue, 9 Jan 2018 19:36:03 +0000 (11:36 -0800)
commit34acbc9bf93ddb49e6d706661c441c4a851c0582
treeaec605b036415c91df8a47d63f23e0b840d3759d
parent26d5b41fdbb5fe9f42dd33d78ccafd2ea8e38aff
docs: Revised descriptions of binding and connecting to services.

Clarified that Context.bindService() returning true only indicates
that the system has found a service to bind to the client and that
ServiceConnection.onServiceConnected() might not be called if the
service encounters an error, such as crashing during startup.

Test: make ds-docs

Bug: 63118511
Change-Id: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e
core/java/android/content/Context.java
core/java/android/content/ServiceConnection.java