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

Skip to content
Commit 4fd268b8 authored by louis_chang's avatar louis_chang Committed by Steve Kondik
Browse files

[ActivityManager] Bring up Service if not schedule to restart

Symptom:
In some scenario, the Service process will be killed due to
"remove task" while updating oomadj. And it may results to
DeadObjectException while notify client to schedule unbind
Service in removeConnectionLocked().

In that case, the Service was failed to scheduled restart
(because the Service was removed from app.services in
serviceDoneExecutingLocked() since finishing=true).

The Service will unable to bring up afterward if
restartDelay > 0, which the Service has been scheduled to
restart before.

Solution:
Bring up Service if it was not in the restarting list

Change-Id: I28b023f0ce36e496bd6b0c69fe71121a083be83b
parent a9521fe4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment