summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android/launcher3/model
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-09-21 14:41:05 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-09-21 15:27:03 -0700
commitf840f10d500d3e11f8512a878c57f07bca635587 (patch)
treecb6fcc99833817503e22ed67df000a61a0ac9b8a /tests/src/com/android/launcher3/model
parent1473b8e1025d17578b08e062427c3af46764efa6 (diff)
downloadandroid_packages_apps_Trebuchet-f840f10d500d3e11f8512a878c57f07bca635587.tar.gz
android_packages_apps_Trebuchet-f840f10d500d3e11f8512a878c57f07bca635587.tar.bz2
android_packages_apps_Trebuchet-f840f10d500d3e11f8512a878c57f07bca635587.zip
Removing additional rpc due to icon cache update
When launcher loads, it fetches the list of apps twice, once for loading all-apps and again for updating icons. Instead reusing the previously fetched apps list. Also moving the icon loading in a separate package for further generalization Change-Id: Ibd2dae56e6027a31b633da030bc6b43a90b27e1b
Diffstat (limited to 'tests/src/com/android/launcher3/model')
-rw-r--r--tests/src/com/android/launcher3/model/BaseModelUpdateTaskTestCase.java2
-rw-r--r--tests/src/com/android/launcher3/model/LoaderCursorTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/launcher3/model/BaseModelUpdateTaskTestCase.java b/tests/src/com/android/launcher3/model/BaseModelUpdateTaskTestCase.java
index dd3e859fd..59b2da036 100644
--- a/tests/src/com/android/launcher3/model/BaseModelUpdateTaskTestCase.java
+++ b/tests/src/com/android/launcher3/model/BaseModelUpdateTaskTestCase.java
@@ -24,7 +24,7 @@ import androidx.test.rule.provider.ProviderTestRule;
import com.android.launcher3.AllAppsList;
import com.android.launcher3.AppFilter;
import com.android.launcher3.AppInfo;
-import com.android.launcher3.IconCache;
+import com.android.launcher3.icons.IconCache;
import com.android.launcher3.InvariantDeviceProfile;
import com.android.launcher3.ItemInfo;
import com.android.launcher3.LauncherAppState;
diff --git a/tests/src/com/android/launcher3/model/LoaderCursorTest.java b/tests/src/com/android/launcher3/model/LoaderCursorTest.java
index 29e54b137..42a276401 100644
--- a/tests/src/com/android/launcher3/model/LoaderCursorTest.java
+++ b/tests/src/com/android/launcher3/model/LoaderCursorTest.java
@@ -10,7 +10,7 @@ import androidx.test.InstrumentationRegistry;
import androidx.test.filters.SmallTest;
import androidx.test.runner.AndroidJUnit4;
-import com.android.launcher3.IconCache;
+import com.android.launcher3.icons.IconCache;
import com.android.launcher3.InvariantDeviceProfile;
import com.android.launcher3.ItemInfo;
import com.android.launcher3.LauncherAppState;