Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 430392e2 authored by Christopher Lais's avatar Christopher Lais Committed by Steve Kondik
Browse files

Mark uids holding WakeLocks as foreground



MMS and various other service that use internal message queues with
WakeLocks held were getting killed too soon, because the AM thought
they were done processing the request when they had only added it to
their internal queue.

This hack keeps processes belonging to uids with WakeLocks held in
the foreground.

It would be better to tie the WakeLocks to a specific process,
but the PowerManagerService does not seem to keep track of that
information.

Signed-off-by: default avatarChristopher Lais <chris+android@zenthought.org>
parent ca4262bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment