Merge "Adding debug logging to track down missing app icons"
This commit is contained in:
committed by
Android (Google) Code Review
commit
7c7c66d3f3
@@ -1736,6 +1736,7 @@ 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);
|
||||
}
|
||||
}
|
||||
@@ -1745,6 +1746,8 @@ 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