Merge "Protect against NPE while to updating service connection activities." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cef12198a7
@@ -1338,7 +1338,9 @@ public final class ActivityStackSupervisor implements DisplayListener {
|
|||||||
|
|
||||||
// Update any services we are bound to that might care about whether
|
// Update any services we are bound to that might care about whether
|
||||||
// their client may have activities.
|
// their client may have activities.
|
||||||
|
if (r.app != null) {
|
||||||
mService.mServices.updateServiceConnectionActivitiesLocked(r.app);
|
mService.mServices.updateServiceConnectionActivitiesLocked(r.app);
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user