summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jacqueline Bronger <bronger@google.com> 2023-03-30 15:49:02 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-03-30 15:49:02 +0000
commitf14d97df2c6c51d1af9cdb0a1529eb19b3d76ce5 (patch)
treec9bcd1ab8a87fdeade61be776a16c4ee960abe62
parent0e8739b06a2b2526fc2df5b0d6c03e03ca98df81 (diff)
parentc5411556343f46b2c6c183e64e2ec28f135be1d9 (diff)
Merge "Tv PiP: allow launcher to identify custom actions." into udc-dev
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/TvPipCustomAction.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/TvPipCustomAction.java b/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/TvPipCustomAction.java
index 49d40d3c2611..bca27a5c6636 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/TvPipCustomAction.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/TvPipCustomAction.java
@@ -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()