commit | 22242ab29a5be21c5248d0cb366de3d5fcb554e8 | [log] [tgz] |
---|---|---|
author | riddle_hsu <riddle_hsu@htc.com> | Fri Dec 12 20:01:29 2014 +0800 |
committer | Riddle Hsu <riddle_hsu@htc.com> | Tue Jan 06 02:31:06 2015 +0000 |
tree | 80aa5eeebe2030513a6eff2bacda6d9be6aeb509 | |
parent | 4c23a0ec161891a1248b7aea67fbfd1d00bbd199 [diff] |
[ActivityManager] Fix process record leakage. Symptom: Remain dead process record in mLruProcesses. Root cause: When a process dies and needs to restart immediately. The process record will not be removed from mLruProcesses in handleAppDiedLocked (return kept=true). If the restarting process start timeout, the record in mLruProcesses will not be removed. Solution: Call removeLruProcessLocked in processStartTimedOutLocked. Change-Id: I1935ccc586016cb4e90dfdfac96cc88931553d5f