From 63002d70e532bc5ad6b57f8e62a8c4c45fb79a34 Mon Sep 17 00:00:00 2001 From: Valentin Iftime Date: Mon, 22 Mar 2021 22:04:33 +0100 Subject: [PATCH] Add TvExtender to DPM bugreport notification So that TV does not ignore the remote bugreport notif. Test: CtsVerifier Device Owner Requesting Bugreport Bug: 183429341 Change-Id: Ifbe49a119077611e175cea4b2533152cc41b41ab --- .../android/server/devicepolicy/RemoteBugreportManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/RemoteBugreportManager.java b/services/devicepolicy/java/com/android/server/devicepolicy/RemoteBugreportManager.java index fa6ef006c61d3..5f35a26feefb2 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/RemoteBugreportManager.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/RemoteBugreportManager.java @@ -149,7 +149,8 @@ public class RemoteBugreportManager { .setLocalOnly(true) .setContentIntent(pendingDialogIntent) .setColor(mContext.getColor( - com.android.internal.R.color.system_notification_accent_color)); + com.android.internal.R.color.system_notification_accent_color)) + .extend(new Notification.TvExtender()); if (type == NOTIFICATION_BUGREPORT_ACCEPTED_NOT_FINISHED) { builder.setContentTitle(mContext.getString(