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
Loading
Please register or sign in to comment