summaryrefslogtreecommitdiff
path: root/media/tests
diff options
context:
space:
mode:
author Alex Shabalin <ashabalin@google.com> 2025-03-20 16:51:12 -0700
committer Alexandr Shabalin <ashabalin@google.com> 2025-03-20 19:02:39 -0700
commitc80df01652e9bb9cf88ce640f5314c36d1cf88a8 (patch)
tree7779e887847e75aa59f6050ab1a3c7c1375abf08 /media/tests
parent341ab1799a669456b6ab7af2f7d5264471ae7c29 (diff)
Add the "Connect a device" button on demand to the media item list.
This change adds a "Connect a device" item to the media item list upon calling the getter method instead of as a response to the MediaRouter callback. This allows to attach the item only when it's needed. - `getMediaItemList()` returns the list with the "Connect a device" button. This is used by the legacy mobile and TV UI. - `getMediaItemList(false /* addConnectDeviceButton */)` returns the list without the "Connect a device" button. This is used by the refreshed mobile UI. Bug: 386411078 Flag: EXEMPT refactor Test: atest SystemUITests:com.android.systemui.media.dialog, atest SystemUIGoogleScreenshotTests:com.android.systemui.media.dialog Change-Id: Iac0df71eed25ee80501ab8e07a922edcb30401e1
Diffstat (limited to 'media/tests')
0 files changed, 0 insertions, 0 deletions