| commit | 3a5da035d06d5c6f6698988084af48a9a3907322 | [log] [tgz] |
|---|---|---|
| author | Kweku Adams <kwekua@google.com> | Tue Apr 11 16:46:58 2023 +0000 |
| committer | Kweku Adams <kwekua@google.com> | Tue Apr 11 16:54:22 2023 +0000 |
| tree | 3855599a4577c30aca95836d010e29615ecb7396 | |
| parent | 9d1c928132a08ffbb18341fd91563e1d7e944e56 [diff] |
Avoid overallocating array size. Since namespaces can just be a subset of jobs, don't allocate the ArrayList to fit all jobs of the app. Bug: 141645789 Test: atest CtsJobSchedulerTestCases Change-Id: I801ee2b47b1735f7994c3c121da5aba34ede4b3d