mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Change type of setCustomLayout in MediaSession.resultBuilder to List
PiperOrigin-RevId: 600801528
This commit is contained in:
parent
9448f939f4
commit
1f78aa5b2a
1 changed files with 2 additions and 3 deletions
|
|
@ -1651,9 +1651,8 @@ public class MediaSession {
|
|||
* session commands}.
|
||||
*/
|
||||
@CanIgnoreReturnValue
|
||||
public AcceptedResultBuilder setCustomLayout(
|
||||
@Nullable ImmutableList<CommandButton> customLayout) {
|
||||
this.customLayout = customLayout;
|
||||
public AcceptedResultBuilder setCustomLayout(@Nullable List<CommandButton> customLayout) {
|
||||
this.customLayout = customLayout == null ? null : ImmutableList.copyOf(customLayout);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue