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
This commit is contained in:
Sunny Goyal
2018-09-21 14:41:05 -07:00
parent 1473b8e102
commit f840f10d50
24 changed files with 303 additions and 222 deletions

View File

@@ -18,7 +18,7 @@ package com.android.launcher3.widget;
import android.util.Log;
import com.android.launcher3.IconCache;
import com.android.launcher3.icons.IconCache;
import com.android.launcher3.model.PackageItemInfo;
import com.android.launcher3.widget.WidgetsListAdapter.WidgetListRowEntryComparator;