Loading services/core/java/com/android/server/am/ActiveServices.java +4 −1 Original line number Diff line number Diff line Loading @@ -2151,7 +2151,10 @@ public final class ActiveServices { final ServiceMap smap = getServiceMapLocked(r.userId); ServiceRecord found = smap.mServicesByName.remove(r.name); if (found != r) { // Note when this method is called by bringUpServiceLocked(), the service is not found // in mServicesByName and found will be null. if (found != null && found != r) { // This is not actually the service we think is running... this should not happen, // but if it does, fail hard. smap.mServicesByName.put(r.name, found); Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +4 −1 Original line number Diff line number Diff line Loading @@ -2151,7 +2151,10 @@ public final class ActiveServices { final ServiceMap smap = getServiceMapLocked(r.userId); ServiceRecord found = smap.mServicesByName.remove(r.name); if (found != r) { // Note when this method is called by bringUpServiceLocked(), the service is not found // in mServicesByName and found will be null. if (found != null && found != r) { // This is not actually the service we think is running... this should not happen, // but if it does, fail hard. smap.mServicesByName.put(r.name, found); Loading