summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-04-05 08:39:40 -0700
committerBryce Lee <brycelee@google.com>2017-04-05 08:39:40 -0700
commit3115bdf15af01ea43c28e1251657c7154e9acc91 (patch)
treeabcea3724efbc574cd5d6e6d8395480925900261 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7458ea38278da47e6ecc0cd251566cdd10063215 (diff)
Fix ActivityRecordTests.
Tests are not guaranteed to run on the same thread as setup methods. Therefore, we must ensure any loopers used are already created by the time the test runs. We do this now by creating a HandlerThread and referencing its Looper later. Loopers are initialized per HandlerThread, which will allow us to both isolate its usage and guarantee the Looper initialization by test time. Change-Id: If15494783959e5c399375033253cef69b921ff84 Fixes: 36916522 Test: bit FrameworksServicesTests:com.android.server.am.ActivityRecordTests
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions