media/libraries/session/src
Googler 93694b2283 Decomission ControllerInfoProxy in favor of ControllerInfo.
This CL makes it possible to create a media3 ControllerInfo in test code, which is needed to test several aspects of a media3-based media app. It does this by exposing a test-only static factory method. This is a hacky low-effort approach; a better solution could be to split ControllerInfo up into a public interface that was exposed to client logic, and that they could extend, and a package-private implementation with internal fields like the callback. That's a much bigger change, however.

PiperOrigin-RevId: 491978830
(cherry picked from commit 69093db7f5)
2023-01-25 17:49:34 +00:00
..
androidTest Add injection of BitmapLoader from MediaSession. 2022-10-25 13:21:08 +00:00
main Decomission ControllerInfoProxy in favor of ControllerInfo. 2023-01-25 17:49:34 +00:00
test Add public constructors to DefaultMediaNotificationProvider 2023-01-25 17:49:34 +00:00