Merge "Avoiding cyclic references when unbinding from a service" into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
c91f9fe542
@ -9775,6 +9775,7 @@ public final class ActivityManagerService extends ActivityManagerNative
|
|||||||
if (DEBUG_SERVICE) Slog.v(TAG,
|
if (DEBUG_SERVICE) Slog.v(TAG,
|
||||||
"doneExecuting remove stopping " + r);
|
"doneExecuting remove stopping " + r);
|
||||||
mStoppingServices.remove(r);
|
mStoppingServices.remove(r);
|
||||||
|
r.bindings.clear();
|
||||||
}
|
}
|
||||||
updateOomAdjLocked(r.app);
|
updateOomAdjLocked(r.app);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user