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

Skip to content
Commit d5e16581 authored by Nate Myren's avatar Nate Myren
Browse files

Ensure stale updates only happen while stale

Remove condition where a non-stale liveData would fully update itself if
all of its sources were not stale, even if the liveData itself was
already not stale. Also replaced job cancellation with a job queue. If
multiple async jobs wish to run for one async LiveData, the LiveData
will update once, once the current job is finished.

Fixes: 147473081
Test: Rapidly click between the "Location" and Settings home page
screens. The number of location apps should not change.

Change-Id: I65a74c8ce5c0c0bcbf51674146505f7601d76e64
parent 60cbf3ff
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