Fix media removal issue when media is updated
ag/27975075 added a new field (updateTime) to MediaCommonViewModel. This field change when we get updates of media controls from the pipeline. Therefore, comparing view-models data classes can return false even if view-models are of the same instanceId. This CL only compares ID field of MediaCommonViewModels, not all fields. Flag: com.android.systemui.scene_container Bug: 326408371 Test: atest MediaCarouselControllerTest Change-Id: Ie0413d0a8470ed7ac1cf0625e3dcaa82b2f014d0
Loading
Please register or sign in to comment