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

Commit a68f8154 authored by Jason Chiu's avatar Jason Chiu Committed by Fan Zhang
Browse files

Enforce all the SliceBackgroundWorkers being singletons at syntax level

- Create workers via reflection in SliceBackgroundWorker
- Store the workers in a static container and release then at shutdown()

Fixes: 118228009
Test: robolectric
Change-Id: I564277d3a12b2d7d3b50cef091bdfedb3397c145
parent 7ebb059e
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