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
diff --git a/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java b/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
index 6c44d81..f820ff9 100644
--- a/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
+++ b/tests/src/com/android/launcher3/ui/AbstractLauncherUiTest.java
@@ -162,6 +162,8 @@
     @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 {