summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorLi Li <dualli@google.com>2021-05-19 22:11:11 -0700
committerLi Li <dualli@google.com>2021-05-20 12:01:37 -0700
commit945c8d4e74755a33f9ad2ed339b477bd855cabb7 (patch)
tree3a7a07bfd28afcbaa88ad083a173fee4a208329d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent86d3f3deaea4af79b77ecc7e2fbdcc6d10954279 (diff)
Fix potential freezer thrashing
Currently a pending DO_FREEZE message stays in the message queue until AMS tries to actually freeze it. If the OOM_ADJ happens to swing back and forth, the app might be frozen and then unfrozen quickly. Fix the issue by removing the pending DO_FREEZE message ASAP. Bug: 188739027 Test: Move an app to foreground, its pending freeze status is cleared. Change-Id: I369710d408e1d81bc169a620543909cb4ae6edf7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions