commit | e19658ac3657d113ffdb7ccd4b3d56c1e8440a77 | [log] [tgz] |
---|---|---|
author | Jason Chiu <chiujason@google.com> | Fri Jan 04 15:12:19 2019 +0800 |
committer | Jason Chiu <chiujason@google.com> | Mon Jan 07 20:10:49 2019 +0000 |
tree | 0bc96c71f0a4931ff328c8b205587b3f07c8834d | |
parent | 6be224a919e2fc42d66bc3a04aaf3f0b92c62fd1 [diff] |
Fix ConcurrentModificationException in SliceBackgroundWorker - Two different threads could call SliceBackgroundWorker.getInstance() at the same time and caused ConcurrentModificationException - Add a new API overloading getInstance for each slice to get a nullable worker since there is no result data then - Only slice provider can create a new worker instance in main thread Test: robotest Change-Id: I560529bb6034ec22263418adeb7f3ccebf879196 Fixes: 121043385