Skip to content
Commit fcc5accd authored by Kevin Han's avatar Kevin Han
Browse files

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
parent 6abae192
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment