mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 10:18:20 +00:00
Adding icon theming API support in Launcher
Bug: 200082620 Test: manual Change-Id: If986b9cfc3db79d627d2a6f1304e1b6f58491470
This commit is contained in:
@@ -36,6 +36,7 @@ import com.android.launcher3.config.FeatureFlags;
|
||||
import com.android.launcher3.graphics.IconShape;
|
||||
import com.android.launcher3.icons.IconCache;
|
||||
import com.android.launcher3.icons.IconProvider;
|
||||
import com.android.launcher3.icons.LauncherIconProvider;
|
||||
import com.android.launcher3.icons.LauncherIcons;
|
||||
import com.android.launcher3.notification.NotificationListener;
|
||||
import com.android.launcher3.pm.InstallSessionHelper;
|
||||
@@ -61,7 +62,7 @@ public class LauncherAppState implements SafeCloseable {
|
||||
|
||||
private final Context mContext;
|
||||
private final LauncherModel mModel;
|
||||
private final IconProvider mIconProvider;
|
||||
private final LauncherIconProvider mIconProvider;
|
||||
private final IconCache mIconCache;
|
||||
private final InvariantDeviceProfile mInvariantDeviceProfile;
|
||||
private final RunnableList mOnTerminateCallback = new RunnableList();
|
||||
@@ -138,7 +139,7 @@ public class LauncherAppState implements SafeCloseable {
|
||||
mContext = context;
|
||||
|
||||
mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(context);
|
||||
mIconProvider = new IconProvider(context, Themes.isThemedIconEnabled(context));
|
||||
mIconProvider = new LauncherIconProvider(context);
|
||||
mIconCache = new IconCache(mContext, mInvariantDeviceProfile,
|
||||
iconCacheFileName, mIconProvider);
|
||||
mModel = new LauncherModel(context, this, mIconCache, new AppFilter(mContext),
|
||||
|
||||
Reference in New Issue
Block a user