diff options
author | Fabian Kozynski <kozynski@google.com> | 2018-08-20 17:54:24 -0400 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2018-08-21 13:41:56 -0400 |
commit | aacde1473e69331a0004b4fd91e68d2add622b6d (patch) | |
tree | 5756778dcf1bbfe618bd5336ba13f705fb4c25c0 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions