Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 007d9090 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Remove service before adding test mock." into tm-dev am: 279ce138"

parents 5d316815 9822563a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -489,6 +489,7 @@ public class AppStandbyControllerTests {

    @Before
    public void setUp() throws Exception {
        LocalServices.removeServiceForTest(UsageStatsManagerInternal.class);
        LocalServices.addService(
                UsageStatsManagerInternal.class, mock(UsageStatsManagerInternal.class));
        MyContextWrapper myContext = new MyContextWrapper(InstrumentationRegistry.getContext());