summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/FieldPacker.java
diff options
context:
space:
mode:
authorlouis_chang <louis_chang@htc.com>2015-03-26 13:31:14 +0800
committerlouis_chang <louis_chang@htc.com>2015-03-26 13:31:14 +0800
commit40e259c34078945ac298c7b20f1df4bef25c3453 (patch)
treeee1aac1ecab5c222f18f7480ce69b40900be98fc /rs/java/android/renderscript/FieldPacker.java
parent5fc9b336ebb6fc224b3e77af388024dea029fbb3 (diff)
[ActivityManager] Fix ServiceRecord leakage
Symptom: The first step of cleaning up application services is to clear the app state from services (which set sr.app to null). Then it clean up the service connections. In some scenario, the Service might be removed during the connection cleanup (i.e. the Service is no longer needed). In that case, the Service will be removed from ServiceMap, but won't be removed from r.app.services in bringDownServiceLocked(line 1670) because the r.app is null. Solution: Remove the service connection first. Change-Id: I644d73af58fe0e7c1c4a6c9779fe6b5d747b880d
Diffstat (limited to 'rs/java/android/renderscript/FieldPacker.java')
0 files changed, 0 insertions, 0 deletions