summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-09-11 20:07:03 (GMT)
committerSunny Goyal <sunnygoyal@google.com>2017-09-11 20:07:41 (GMT)
commita41ebf0cd2c2cd95a377c824acb517894ebbd372 (patch)
treebd78212a4a73337bbdcf9db29c8bbcf8273e427f
parent9c1607886b87734f5ec36a87f62dcaabb78bdf20 (diff)
downloadandroid_packages_apps_Trebuchet-a41ebf0cd2c2cd95a377c824acb517894ebbd372.zip
android_packages_apps_Trebuchet-a41ebf0cd2c2cd95a377c824acb517894ebbd372.tar.gz
android_packages_apps_Trebuchet-a41ebf0cd2c2cd95a377c824acb517894ebbd372.tar.bz2
Fixing promise icons not getting restored after the app is installed
Bug: 65387781 Change-Id: I8f6ca6695ad074a707b574af9499586fdd90d5c1
-rw-r--r--src/com/android/launcher3/model/PackageUpdatedTask.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/com/android/launcher3/model/PackageUpdatedTask.java b/src/com/android/launcher3/model/PackageUpdatedTask.java
index 13962a2..5c387fc 100644
--- a/src/com/android/launcher3/model/PackageUpdatedTask.java
+++ b/src/com/android/launcher3/model/PackageUpdatedTask.java
@@ -231,6 +231,9 @@ public class PackageUpdatedTask extends BaseModelUpdateTask {
continue;
}
}
+ } else {
+ si.status = ShortcutInfo.DEFAULT;
+ infoUpdated = true;
}
}