From cca18fd7d9875602b9e17be597c77410366bd90d Mon Sep 17 00:00:00 2001 From: Bernardo Rufino Date: Thu, 21 Nov 2019 18:47:37 +0000 Subject: [PATCH] Add TODO to target R+ for bg custom toast block Since we'll be assessing impact on all apps first in dogfood and only then targeting R+. Bug: 128611929 Test: No Change-Id: Ic37ab8a8b65163e4c955d613479d3f47238439d6 --- .../server/notification/NotificationManagerService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java index 2761987e2358b..7270c25a7c613 100755 --- a/services/core/java/com/android/server/notification/NotificationManagerService.java +++ b/services/core/java/com/android/server/notification/NotificationManagerService.java @@ -360,9 +360,11 @@ public class NotificationManagerService extends SystemService { private static final String EXTRA_KEY = "key"; /** - * Apps targeting R+ that post custom toasts in the background will have those blocked. Apps can + * Apps that post custom toasts in the background will have those blocked. Apps can * still post toasts created with {@link Toast#makeText(Context, CharSequence, int)} and its * variants while in the background. + * + * TODO(b/144152069): Add @EnabledAfter(Q) to target R+ after assessing impact on dogfood */ @ChangeId private static final long CHANGE_BACKGROUND_CUSTOM_TOAST_BLOCK = 128611929L;