OSDN Git Service

Merged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e
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 20:25:22 +0000 (12:25 -0800)
commitd195a9972be1a5f57ecd829e99b8e32519cd19c3
treeab5985b2c544ebc627315ec69d835a061cafd001
parent7cb6513f6da6a614714f99f5d3cecd08e705764e
Merged-In: I0906de76abf4124d74f7f4f80ac0eab3cbf94f7e
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