commit | d1f4b90e2856c6e1175eeea417bc329d8caa1287 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Tue May 07 12:22:47 2019 -0700 |
committer | Kweku Adams <kwekua@google.com> | Tue May 07 12:33:43 2019 -0700 |
tree | 7a38ae933619047d5f301af8c7a60de478d1eb6e | |
parent | 9192a430afaac8b21e69e2990fc0f93a2eb6dbb5 [diff] |
Using ParceledListSlice to send large lists over Binder. JobScheduler.getAllPendingJobs() and .getAllJobSnapshots() can potentially contain enough data to exceed the Binder limit. Using a ParceledListSlice will ensure the data can still be sent over Binder. Bug: 70648761 Test: atest CtsJobSchedulerTestCases Test: atest CtsBatterySavingTestCases Change-Id: I79ea32eac56473ca996cc00312b30d0f72ce22c9