Merge "Tv PiP: allow launcher to identify custom actions." into udc-dev

This commit is contained in:
Jacqueline Bronger
2023-03-30 15:49:02 +00:00
committed by Android (Google) Code Review

View File

@@ -86,6 +86,7 @@ public class TvPipCustomAction extends TvPipAction {
Bundle extras = new Bundle();
extras.putCharSequence(Notification.EXTRA_PICTURE_CONTENT_DESCRIPTION,
mRemoteAction.getContentDescription());
extras.putBoolean(Notification.EXTRA_CONTAINS_CUSTOM_VIEW, true);
builder.addExtras(extras);
builder.setSemanticAction(isCloseAction()