Tv PiP: allow launcher to identify custom actions.
Adds a boolean extra to custom actions (app defined or media actions). Bug: 274444475 Test: manual - custom actions should have the extra set to true Change-Id: I98c1dba5ea8ef56b9c8b346f1d00deabde5d1dc1
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user