mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Using internal format cache for loading user badged label
Bug: 267683009 Test: Manual Change-Id: I7d1df2704c4513bd80e2b6adb7a3921637fa617b
This commit is contained in:
@@ -310,7 +310,7 @@ public class LoaderCursor extends CursorWrapper {
|
||||
throw new InvalidParameterException("Invalid restoreType " + restoreFlag);
|
||||
}
|
||||
|
||||
info.contentDescription = mPM.getUserBadgedLabel(info.title, info.user);
|
||||
info.contentDescription = mIconCache.getUserBadgedLabel(info.title, info.user);
|
||||
info.itemType = itemType;
|
||||
info.status = restoreFlag;
|
||||
return info;
|
||||
@@ -381,7 +381,7 @@ public class LoaderCursor extends CursorWrapper {
|
||||
}
|
||||
}
|
||||
|
||||
info.contentDescription = mPM.getUserBadgedLabel(info.title, info.user);
|
||||
info.contentDescription = mIconCache.getUserBadgedLabel(info.title, info.user);
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user