commit | 027c747b806a58a843f29b8fac25f13f66d05062 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Mar 27 11:24:18 2018 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Mar 27 11:24:20 2018 -0600 |
tree | 17168574eafd5e25c16e15f64b04e536cd50d3da | |
parent | 89e83b846226d7960bffe99be4b2e4761e736bbe [diff] |
Don't close CPC belonging to overall Job. The parent Job is managing the lifecycle of the CPC object, so we shouldn't be using try-with-resources internally. Otherwise, we risk closing the CPC before other parts of the job are finished. Test: atest DocumentsUITests Bug: 65577524 Change-Id: I4bb224908f47e84eb3eeda0d26e60803ab264b06