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

Skip to content
Commit 9ee6bdfe authored by Hui Shu's avatar Hui Shu
Browse files

Make getMinimumVersionCode thread safe.

The method is not thread safe when there are multiple available-by-default,
non-fallback WebView provider packages with different versions, because it sets
mMiniumVersionCode multiple times during the for loop, when another thread might
be reading the intermediate mMinimumVersionCode.

BUG: 28916406
Change-Id: I826c79f108b114c42c7bcd91fc198212c9ab09ad
parent 520eca5b
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