Merge "Clarify setRemotePlaybackInfo usage" into tm-dev

This commit is contained in:
TreeHugger Robot
2022-02-28 17:52:53 +00:00
committed by Android (Google) Code Review

View File

@@ -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.
* <p>
* 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