diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/com/android/launcher3/ui/LauncherInstrumentationTestCase.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/src/com/android/launcher3/ui/LauncherInstrumentationTestCase.java b/tests/src/com/android/launcher3/ui/LauncherInstrumentationTestCase.java index 1ed4a240e..47b43f530 100644 --- a/tests/src/com/android/launcher3/ui/LauncherInstrumentationTestCase.java +++ b/tests/src/com/android/launcher3/ui/LauncherInstrumentationTestCase.java @@ -266,8 +266,7 @@ public class LauncherInstrumentationTestCase extends InstrumentationTestCase { @Override public void run() { ManagedProfileHeuristic.markExistingUsersForNoFolderCreation(mTargetContext); - LauncherAppState.getInstance(mTargetContext).getModel() - .resetLoadedState(true, true); + LauncherAppState.getInstance(mTargetContext).getModel().forceReload(); } }); } catch (Throwable t) { |