Merge "Only show TV PiP Notification once"

This commit is contained in:
Jacqueline Bronger
2022-06-14 08:39:16 +00:00
committed by Android (Google) Code Review

View File

@@ -114,6 +114,7 @@ public class TvPipNotificationController {
.setOngoing(true)
.setCategory(Notification.CATEGORY_SYSTEM)
.setShowWhen(true)
.setOnlyAlertOnce(true)
.setSmallIcon(R.drawable.pip_icon)
.setAllowSystemGeneratedContextualActions(false)
.setContentIntent(createPendingIntent(context, ACTION_FULLSCREEN))