From 4d1a0e2a7b859672a6aac52e9fd909d42a12b895 Mon Sep 17 00:00:00 2001 From: Pinyao Ting Date: Thu, 25 Jul 2019 20:26:54 -0700 Subject: show dot on shortcut when incoming notification contains exactly the same shortcut id Bug: 132336512 Change-Id: Iddf4cfe8ad60c12e8de8b171bed392f1bb0a6761 Merged-In: Iddf4cfe8ad60c12e8de8b171bed392f1bb0a6761 --- go/src/com/android/launcher3/shortcuts/DeepShortcutManager.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'go') diff --git a/go/src/com/android/launcher3/shortcuts/DeepShortcutManager.java b/go/src/com/android/launcher3/shortcuts/DeepShortcutManager.java index 1e449108d..73adaa14f 100644 --- a/go/src/com/android/launcher3/shortcuts/DeepShortcutManager.java +++ b/go/src/com/android/launcher3/shortcuts/DeepShortcutManager.java @@ -25,6 +25,7 @@ import android.os.Bundle; import android.os.UserHandle; import com.android.launcher3.ItemInfo; +import com.android.launcher3.notification.NotificationKeyData; import java.util.Collections; import java.util.List; @@ -52,6 +53,11 @@ public class DeepShortcutManager { return false; } + public static boolean supportsNotificationDots( + ItemInfo info, List notifications) { + return false; + } + public boolean wasLastCallSuccess() { return false; } -- cgit v1.2.3