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

Skip to content
Commit aacde147 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Added Lock for mCallbacks and test for Concurrency

mCallbacks in CastControllerImpl is now
thread-locked by a guard of the same name.

The test implemented in CastControllerImplTest fails
in previous builds (bug 79419738) and passes now.
In order to properly test,
CastControllerImpl::fireOnCastDevicesChanged is
now VisibleForTesting.

Change-Id: I4160938b2da1749a4370d902e314deaf445cda1a
Fixes: 79419738
Test: CastControllerImplTest::testConcurrencyOnMCallback
parent 8a8f138d
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