Merge "Don't call onNullBinding when the service host is dead" into sc-dev
This commit is contained in:
@@ -2060,7 +2060,7 @@ public final class LoadedApk {
|
|||||||
}
|
}
|
||||||
if (dead) {
|
if (dead) {
|
||||||
mConnection.onBindingDied(name);
|
mConnection.onBindingDied(name);
|
||||||
}
|
} else {
|
||||||
// If there is a new viable service, it is now connected.
|
// If there is a new viable service, it is now connected.
|
||||||
if (service != null) {
|
if (service != null) {
|
||||||
mConnection.onServiceConnected(name, service);
|
mConnection.onServiceConnected(name, service);
|
||||||
@@ -2069,6 +2069,7 @@ public final class LoadedApk {
|
|||||||
mConnection.onNullBinding(name);
|
mConnection.onNullBinding(name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void doDeath(ComponentName name, IBinder service) {
|
public void doDeath(ComponentName name, IBinder service) {
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
|
|||||||
Reference in New Issue
Block a user