commit | f06a317039a6502252c2b4b1a878520d166a38c6 | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Tue Apr 25 16:30:53 2017 -0400 |
committer | Jason Monk <jmonk@google.com> | Tue Apr 25 21:38:40 2017 +0000 |
tree | 4d0325c67b6ca0eae92eab84fc60c88c96538594 | |
parent | 41bf42a1c73d762856d5a38d7548cf751ae8bd15 [diff] |
Guard against incorrect context use. Instead of just having random tests fail, fail all the tests with a slightly more useful message. Also remove all the code around acquiring and contention, now that we have a test rule in place for TestableContext, we can just use that for cleanup and have a simple copy-on-write provider. Test: runtest -x frameworks/base/tests/testables && runtest systemui Change-Id: I907da23730a4a96cfa2bb112100a06980f01b078 Fixes: 37302051