Merge "Add Logs to track app uninstall and icon removal" into ub-launcher3-qt-future-dev

am: 2b06908252

Change-Id: I638ad5d2f48a577503b8925253152e0a9b42ab6d
This commit is contained in:
Samuel Fufa
2019-09-16 20:50:55 -07:00
committed by android-build-merger
4 changed files with 16 additions and 5 deletions

View File

@@ -15,6 +15,8 @@
*/
package com.android.launcher3.model;
import static com.android.launcher3.WorkspaceItemInfo.FLAG_AUTOINSTALL_ICON;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
@@ -53,8 +55,6 @@ import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import static com.android.launcher3.WorkspaceItemInfo.FLAG_AUTOINSTALL_ICON;
/**
* Handles updates due to changes in package manager (app installed/updated/removed)
* or when a user availability changes.
@@ -132,6 +132,7 @@ public class PackageUpdatedTask extends BaseModelUpdateTask {
break;
case OP_REMOVE: {
for (int i = 0; i < N; i++) {
FileLog.d(TAG, "Removing app icon" + packages[i]);
iconCache.removeIconsForPkg(packages[i], mUser);
}
// Fall through