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

This commit is contained in:
TreeHugger Robot
2016-05-27 00:08:15 +00:00
committed by Android (Google) Code Review
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;
} }