diff options
author | Li Li <dualli@google.com> | 2021-05-19 22:11:11 -0700 |
---|---|---|
committer | Li Li <dualli@google.com> | 2021-05-20 12:01:37 -0700 |
commit | 945c8d4e74755a33f9ad2ed339b477bd855cabb7 (patch) | |
tree | 3a7a07bfd28afcbaa88ad083a173fee4a208329d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 86d3f3deaea4af79b77ecc7e2fbdcc6d10954279 (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