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
This commit is contained in:
Bernardo Rufino
2019-11-21 18:47:37 +00:00
parent 9c743482fc
commit cca18fd7d9

View File

@@ -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;