commit | f60cd87abf77647deb595511129c657167c66a68 | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Mon Dec 19 20:49:12 2022 +0000 |
committer | Kweku Adams <kwekua@google.com> | Tue Dec 20 18:26:11 2022 +0000 |
tree | 4342aa354978af1deca5d2aeb88df9fd4cd4dd55 | |
parent | 8f4e50a55ae075f3bd95ded5b29764f5210618eb [diff] |
Require permission for setUserInitiated(). Enforce that both the source and calling apps have the RUN_LONG_JOBS permission granted when attempting to schedule a user-initiated job. Bug: 261999509 Test: atest CtsJobSchedulerTestCases:JobInfoTest Test: atest CtsJobSchedulerTestCases:JobParametersTest Test: atest CtsJobSchedulerTestCases:JobSchedulingTest Change-Id: I0c7ef77be7b2e3c23ab1c790898ecb2c4bfd6bb4