summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Beth Thibodeau <ethibodeau@google.com> 2022-06-13 18:50:27 -0500
committer Beth Thibodeau <ethibodeau@google.com> 2022-06-15 15:08:27 +0000
commitf35cfddd0375ecf834e0a05dbcc75827c98c83a1 (patch)
tree86628a8ce1f1de3cf12e80251f7842fc4ab0fb0c /api/api.go
parent8b5e8952aa774729c5616e84d9c9d33139e2778d (diff)
Forward device updates when info changes
In some cases, the device/route name could change without also updating the ID. This updates the check to include all fields of MediaDeviceData except for the icon (which can change reference more frequently than is necessary to reload). Now if the name, status, or intent has changed, listeners will be updated to have the new info. Bug: 235627592 Test: manual Test: atest MediaDataManagerTest Change-Id: Iefd7ce0e8859b89db2bc75c243b3a04a0cb3915d Merged-In: Iefd7ce0e8859b89db2bc75c243b3a04a0cb3915d
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions