Merge "Protect against NPE while to updating service connection activities." into nyc-dev

am: cef12198a7

* commit 'cef12198a729209fc8bfb2b2483fb3730f0fd428':
  Protect against NPE while to updating service connection activities.

Change-Id: Ibeac7bcf9d2f85ac39d9b029cd429ae538ad8a99
This commit is contained in:
Wale Ogunwale
2016-05-27 03:34:42 +00:00
committed by android-build-merger
2 changed files with 4 additions and 2 deletions

View File

@@ -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;
} }