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

Commit 9e706666 authored by George Mount's avatar George Mount
Browse files

Fix cross-thread access to collection in ViewRootImpl

Fixes: 418548559

Flag: EXEMPT Bug Fix

The collection mThreadedRendererViews can be accessed from the
UI thread and the render thread. To avoid multiple threads
modifying and reading the collection simultaneously, a synchronization
lock was added.

Test: new test in ViewRootImplTest
Change-Id: Ie14c9c1b8fae4aeb58e00bf8d0ae65371b296962
parent b58847b3
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