commit | abc69e93d65cdee7673abd2d0a734df7be01b96c | [log] [tgz] |
---|---|---|
author | riddle_hsu <riddle_hsu@htc.com> | Fri Jul 04 12:37:45 2014 +0800 |
committer | riddle hsu <riddle_hsu@htc.com> | Fri Jul 04 13:33:19 2014 +0000 |
tree | fa94536c415fd96e8fe0e651c66d77300ab8d2c1 | |
parent | a6e9dd3f9a2d966faf2d1710d2189127b968dc52 [diff] |
[ActivityManager] Ensure alive process is not killedByAm. Symptom: Unable to kill by Am again and will be skipped updating its oom adj. Root Cause: A restarted process will reuse original process record. The flag killedByAm will keep previous state. Solution: Reset the flag killedByAm to false when the process is started. Note: Found another similiar patch If95137d91939cc44882ad2813131bcde0edd0c1b Change-Id: I59a86648ca8d0aed4c489d92751af120aae5ef90