From c52ba710053e4c6927937dd1a26d1abe06b6fa99 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 5 Apr 2016 15:59:05 -0700 Subject: Fixing folder icon not getting redrawn when the contents change > Removing parent from ItemOperator as inconsistant values were being passed in workspace and folderPagedView > Fixing itemChanged causing multiple redraws, by passing a 'animate' parameter to explicitely request animation Bug:27740161 Bug:28015426 Change-Id: Ide7b266bde9aad5f450a3f808a59182fe01a5110 --- src/com/android/launcher3/util/ManagedProfileHeuristic.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/launcher3/util') diff --git a/src/com/android/launcher3/util/ManagedProfileHeuristic.java b/src/com/android/launcher3/util/ManagedProfileHeuristic.java index fb9bbb29c..3925c4034 100644 --- a/src/com/android/launcher3/util/ManagedProfileHeuristic.java +++ b/src/com/android/launcher3/util/ManagedProfileHeuristic.java @@ -188,7 +188,7 @@ public class ManagedProfileHeuristic { @Override public void run() { for (ShortcutInfo info : shortcuts) { - workFolder.add(info); + workFolder.add(info, false); } } }); @@ -200,7 +200,7 @@ public class ManagedProfileHeuristic { // Add all shortcuts before adding it to the UI, as an empty folder might get deleted. for (ShortcutInfo info : mWorkFolderApps) { - workFolder.add(info); + workFolder.add(info, false); } // Add the item to home screen and DB. This also generates an item id synchronously. -- cgit v1.2.3