Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 59d537b9 authored by Michael Mikhail's avatar Michael Mikhail
Browse files

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
parent 4395f03a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment