summaryrefslogtreecommitdiff
path: root/libs/rs/rsThreadIO.cpp
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2009-06-16 18:49:05 -0700
committer Dianne Hackborn <hackbod@google.com> 2009-06-16 18:49:05 -0700
commit82f3f0008eca314b69a86900deb93932b9912759 (patch)
tree8df476aeaab5cdc87e06a1a0c35f28ac75d2a697 /libs/rs/rsThreadIO.cpp
parent8ad473994d402e42ec3c8f44f31e99ef2f7e9237 (diff)
Fix many of the ANRs introduced by scheduling classes.
We weren't bumping the oom_adj of processes receiving a registered broadcast. Previously this wasn't a problem, because those processes are allowed to have their oom_adj managed by whatever else is in them and if the registered receiver goes away no problem. But now this is also controlling the scheduling class, so we need to bump them up. This is probably good anyway, since the developer has the same assurance of their process not being killing in the middle of registered receivers like it had always been for manifest receivers. Also fixed a small issue where we were not recomputing the oom_adh after finished with a broadcast.
Diffstat (limited to 'libs/rs/rsThreadIO.cpp')
0 files changed, 0 insertions, 0 deletions