commit | 05efd438fe69831bf5df9b38480eb68feb0ebe65 | [log] [tgz] |
---|---|---|
author | yuanhuihui <yuanhuihui@xiaomi.com> | Mon Sep 12 17:52:18 2016 +0800 |
committer | yuanhuihui <yuanhuihui@xiaomi.com> | Mon Sep 12 17:52:18 2016 +0800 |
tree | aeaa4c29ffab536999f20a2a0e96588aab793fb0 | |
parent | f7c508ae09ad9dce600af23572d3d618c9ff8475 [diff] |
fix persistent process is killed and restart again and again start presistent app before system booting, in NewProcessRecordLocked will set persistent = true, but not set r.maxAdj = ProcessList.PERSISTENT_PROC_ADJ. so this process may become CACHED_EMPTY, then be killed. while persistent = true, will restart again. https://code.google.com/p/android/issues/detail?id=222224 Change-Id: I91b405ca3f3bbe8934e4a495d9a54eab4f51e21f