show dot in deep shortcuts when notification contains exactly identical

set of person

Bug: 132336512
Change-Id: I975524e28168c10a186cdc24b188c161faf433cf
Merged-In: I975524e28168c10a186cdc24b188c161faf433cf
This commit is contained in:
Pinyao Ting
2019-07-26 12:28:38 -07:00
parent aea3d051c4
commit e4061fc931
13 changed files with 144 additions and 58 deletions

View File

@@ -38,7 +38,7 @@ public class PackageUserKey {
* @return Whether this PackageUserKey was successfully updated - it shouldn't be used if not.
*/
public boolean updateFromItemInfo(ItemInfo info) {
if (DeepShortcutManager.supportsShortcuts(info)) {
if (ShortcutUtil.supportsShortcuts(info)) {
update(info.getTargetComponent().getPackageName(), info.user);
return true;
}