commit | aacde1473e69331a0004b4fd91e68d2add622b6d | [log] [tgz] |
---|---|---|
author | Fabian Kozynski <kozynski@google.com> | Mon Aug 20 17:54:24 2018 -0400 |
committer | Fabian Kozynski <kozynski@google.com> | Tue Aug 21 13:41:56 2018 -0400 |
tree | 5756778dcf1bbfe618bd5336ba13f705fb4c25c0 | |
parent | 8a8f138d1df36cb0de80cc08bcec2685060f6c5c [diff] |
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