diff options
author | Kevin Han <kevhan@google.com> | 2021-03-09 12:38:46 -0800 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2021-03-10 13:09:26 -0800 |
commit | fcc5accda1a7d4aa2c88b151a8aaeaefd8a2b022 (patch) | |
tree | fad824e38304e0d23b6a9f1326e44df66dd25679 /rs/java/android/renderscript/RenderScript.java | |
parent | 6abae19241c8f44409755bc379797dd0f9ef8c75 (diff) |
Fix local service binding in tests.
AppHibernationServiceTest failed because every set up would instantiate
AppHibernationService which would try to add to the static
LocalServices registry. We now remove any registered local services
before each test.
Also, add @Presubmit label so that these tests actually run in
presubmit.
Bug: 175829330
Test: atest AppHibernationServiceTest
Test: check that test actually runs in presubmit
Change-Id: I5510f7e862d608cacaf12d8a561af7ac74774782
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions