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)
Loading