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

Commit 4ada2d2c authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Resetting loader state after each UI test run

This is to prevent tests from affecting tests running after them.

Bug: 117332845
Test: Ran all tests; will see on TAP
Change-Id: Ie93ef30477eb069c6b4df48c6fceaceb968edaf4
parent 88c289ea
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -162,6 +162,8 @@ public abstract class AbstractLauncherUiTest {
    @After
    public void tearDown() throws Exception {
        mDevice.executeShellCommand("settings put global heads_up_notifications_enabled 1");
        // Limits UI tests affecting tests running after them.
        resetLoaderState();
    }

    protected void lockRotation(boolean naturalOrientation) throws RemoteException {