Fixing issue where we were not clearing the set of removed items since the last event. (Bug 6749258)
Change-Id: I21ed2810e902e2727959b1a4cc0cd6183b750603
This commit is contained in:
@@ -1736,7 +1736,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
ApplicationInfo info = list.get(i);
|
||||
int removeIndex = findAppByComponent(mApps, info);
|
||||
if (removeIndex > -1) {
|
||||
Log.d(TAG, "Removing app in removeAppsWithoutInvalidate: " + info);
|
||||
mApps.remove(removeIndex);
|
||||
}
|
||||
}
|
||||
@@ -1746,8 +1745,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
for (String pn : packageNames) {
|
||||
int removeIndex = findAppByPackage(mApps, pn);
|
||||
while (removeIndex > -1) {
|
||||
Log.d(TAG, "Removing app in removeAppsWithPackageNameWithoutInvalidate: "
|
||||
+ mApps.get(removeIndex));
|
||||
mApps.remove(removeIndex);
|
||||
removeIndex = findAppByPackage(mApps, pn);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user