mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Encoding the locale list in systemState so that icons and labels are updated properly
Bug: 70948387 Change-Id: Ia6348ff8c3e035b9d91bb14fb98c751f3f29ab89
This commit is contained in:
@@ -118,8 +118,7 @@ public class IconCache {
|
||||
mIconDpi = inv.fillResIconDpi;
|
||||
mIconDb = new IconDB(context, inv.iconBitmapSize);
|
||||
|
||||
mIconProvider = Utilities.getOverrideObject(
|
||||
IconProvider.class, context, R.string.icon_provider_class);
|
||||
mIconProvider = IconProvider.newInstance(context);
|
||||
mWorkerHandler = new Handler(LauncherModel.getWorkerLooper());
|
||||
|
||||
mLowResOptions = new BitmapFactory.Options();
|
||||
@@ -254,7 +253,7 @@ public class IconCache {
|
||||
// Remove all active icon update tasks.
|
||||
mWorkerHandler.removeCallbacksAndMessages(ICON_UPDATE_TOKEN);
|
||||
|
||||
mIconProvider.updateSystemStateString();
|
||||
mIconProvider.updateSystemStateString(mContext);
|
||||
for (UserHandle user : mUserManager.getUserProfiles()) {
|
||||
// Query for the set of apps
|
||||
final List<LauncherActivityInfo> apps = mLauncherApps.getActivityList(null, user);
|
||||
|
||||
Reference in New Issue
Block a user