Making LauncherIcons thread safe
Creating a pool of LauncherIcons so that they can be used from multiple threads Change-Id: Idc7b5ddb47b6e338a5389f3c4faa6f63de108c72
This commit is contained in:
1 parent
383b7fa02a
commit
18a4e5aefb
21 files changed
+276
-391
No files matched your search
@@ -453,9 +453,8 @@ public class Folder extends AbstractFloatingView implements DragSource, View.OnC
|
||||
*/
|
||||
@SuppressLint("InflateParams")
|
||||
static Folder fromXml(Launcher launcher) {
|
||||
return (Folder) launcher.getLayoutInflater().inflate(
|
||||
FeatureFlags.LAUNCHER3_DISABLE_ICON_NORMALIZATION
|
||||
? R.layout.user_folder : R.layout.user_folder_icon_normalized, null);
|
||||
return (Folder) launcher.getLayoutInflater()
|
||||
.inflate(R.layout.user_folder_icon_normalized, null);
|
||||
}
|
||||
|
||||
private void startAnimation(final AnimatorSet a) {
|
||||
|
||||
Reference in new issue
Block a user