summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptIntrinsicYuvToRGB.java
diff options
context:
space:
mode:
authorriddle_hsu <riddle_hsu@htc.com>2014-07-04 12:19:41 +0800
committerriddle_hsu <riddle_hsu@htc.com>2014-07-04 12:19:41 +0800
commita4f1f8a239ae335ed15fda37f821d496e2dc6cfb (patch)
treeba56d1e67d5617c651418e6fccf53e965bb1f1c4 /rs/java/android/renderscript/ScriptIntrinsicYuvToRGB.java
parenta6e9dd3f9a2d966faf2d1710d2189127b968dc52 (diff)
[ActivityManager] Prevent kill a restarted process again.
Root Cause: Use removeTask with flag ActivityManager.REMOVE_TASK_KILL_PROCESS will set waitingToKill = "remove task" to the target process when its setSchedGroup is not BG_NONINTERACTIVE. Later the target process may be killed when applying oom-adj due to setSchedGroup has changed to BG_NONINTERACTIVE. If the process is needed to restart, the process record will be resued. Then the restarted process may be killed again because its waitingToKill is not null. Solution: Clean waitingToKill when process is dead. Change-Id: I5ffb5388127f4221da4c700d3f1c224f7ca6e7b2
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicYuvToRGB.java')
0 files changed, 0 insertions, 0 deletions