Skip to content
Commit a7d6da80 authored by Siting Mo's avatar Siting Mo Committed by Jing Ji
Browse files

Add AMS lock protection to mAppsInBackgroundRestricted collection

When the process is started asynchronously, the mAppsInBackgroundRestricted collection lacks AMS lock
protection and will throw ConcurrentModificationException
crash with a low probability.

Bug: 236582924
Test: Treehugger
Change-Id: Ieec1de9ee1fd336cf1de54566f80442e3cd3acdd
parent 184d8894
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