commit | a68f81540e842e432df7586c41ec3893c80e802f | [log] [tgz] |
---|---|---|
author | Jason Chiu <chiujason@google.com> | Mon Oct 29 17:58:55 2018 +0800 |
committer | Fan Zhang <zhfan@google.com> | Mon Nov 05 21:41:30 2018 +0000 |
tree | 27c72ec35550414b2be6488e007d498a14390e16 | |
parent | 7ebb059ea59378e3513ec092c543576548f36a6d [diff] |
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