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

Skip to content
Commit 7eb1fcb7 authored by Samjith Sadasivan's avatar Samjith Sadasivan Committed by Linux Build Service Account
Browse files

Fix for Concurrency issue reported in 525529

List of services mainted by ActivityManager may get
updated/iterated concurrently if serviceTimeout() is
scheduled simultaneously with launch/stop of new services
for the same package.To fix the issue ,iteration of
proc.executingServices set in serviceTimeout() is synchronized
with same lock used by updating the set during
start/launch of service.

CRs-fixed: 525529

Change-Id: Ic230ad0d16e6ec64a20cf394aa1c1ce777c37a2b
(cherry picked from commit 28e37fe7a2e59b1ee141e4b0c1fcd577129b068d)
(cherry picked from commit 2b43293bc2e4a9f09d5d81e41a9cac914077ba31)
parent 20eea597
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