From 48af92dc4be18b3bd63679674b87b17e30974074 Mon Sep 17 00:00:00 2001 From: Beth Thibodeau Date: Fri, 25 Feb 2022 16:38:10 -0500 Subject: [PATCH] Clarify setRemotePlaybackInfo usage Bug: 220019433 Test: builds Change-Id: I419b4f03cecc6df858f57e8b1c524d76418ab8e8 --- core/java/android/app/Notification.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 9dd206e21c443..7e0cea8921a4c 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -9009,6 +9009,10 @@ public class Notification implements Parcelable * information that will replace the default values for the output switcher chip on the * media control, as well as an intent to use when the output switcher chip is tapped, * on devices where this is supported. + *

+ * This method is intended for system applications to provide information and/or + * functionality that would otherwise be unavailable to the default output switcher because + * the media originated on a remote device. * * @param deviceName The name of the remote device to display * @param iconResource Icon resource representing the device