Merge "Fix issue #37470038: API Review: ServiceConnection.onBindingDead()" into oc-dev

am: 232ff0bdc8

Change-Id: I71f94cd80a7734a24d51652fd3e203f47f51d171
This commit is contained in:
Dianne Hackborn
2017-04-20 00:10:01 +00:00
committed by android-build-merger
5 changed files with 5 additions and 5 deletions

View File

@@ -1598,7 +1598,7 @@ public final class LoadedApk {
mConnection.onServiceDisconnected(name);
}
if (dead) {
mConnection.onBindingDead(name);
mConnection.onBindingDied(name);
}
// If there is a new service, it is now connected.
if (service != null) {

View File

@@ -61,6 +61,6 @@ public interface ServiceConnection {
* @param name The concrete component name of the service whose
* connection is dead.
*/
default void onBindingDead(ComponentName name) {
default void onBindingDied(ComponentName name) {
}
}