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

Commit 1d513634 authored by Austin Tankiang's avatar Austin Tankiang
Browse files

Remove stale pending/in progress items on update

Sometimes the view model may not receive the complete event (e.g. if the
service shuts down unexpectedly). In this case, just remove the job from
the list of tracked jobs.

Bug: 407675188
Test: atest 'DocumentsUIGoogleTests:com.android.documentsui.JobPanelUiTest'
Test: atest 'DocumentsUIGoogleTests:com.android.documentsui.JobPanelViewModelTest'
Flag: com.android.documentsui.flags.visual_signals_ro
Change-Id: Icb36854d734482eda3da7986c634f758cf97d380
parent cfff4f1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment