commit | 46a06145333dcc5b26c228ef5767aaded8639d6d | [log] [tgz] |
---|---|---|
author | Jernej Virag <jernej@google.com> | Mon Sep 16 16:39:39 2024 +0200 |
committer | Jernej Virag <jernej@google.com> | Tue Sep 17 10:15:21 2024 +0200 |
tree | 94fc58676629ce284bfc413b812593cc95b3bfce | |
parent | b46ac8c40f46895d011821474c9646050b1769eb [diff] |
Fix cancellation of MediaDataLoader jobs We should only look at the key, otherwise we don't successfuly detect duplicates. We also have apps bursting updates within a few ms as they update metadata and we shouldn't spend battery loading artwork in that case. Bug: 358350077 Flag: com.android.systemui.media_load_metadata_via_media_data_loader Test: atest MediaDataLoaderTest Change-Id: Ie52fa043db48c58b8a9c23b45ed33ed5b4ab61ad