summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/graphics
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 /src/com/android/launcher3/graphics
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 'src/com/android/launcher3/graphics')
-rw-r--r--src/com/android/launcher3/graphics/LauncherIcons.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/graphics/LauncherIcons.java b/src/com/android/launcher3/graphics/LauncherIcons.java
index 087362cd4..7db67c982 100644
--- a/src/com/android/launcher3/graphics/LauncherIcons.java
+++ b/src/com/android/launcher3/graphics/LauncherIcons.java
@@ -44,7 +44,7 @@ import android.os.UserHandle;
import com.android.launcher3.AppInfo;
import com.android.launcher3.FastBitmapDrawable;
-import com.android.launcher3.IconCache;
+import com.android.launcher3.icons.IconCache;
import com.android.launcher3.InvariantDeviceProfile;
import com.android.launcher3.ItemInfoWithIcon;
import com.android.launcher3.LauncherAppState;