Require permission for long-running user-initiated jobs.

Only allow user-initiated jobs to run longer than the normal upper limit
if the app has the RUN_LONG_JOBS permission granted.

Bug: 261622663
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Change-Id: I5c742ccebce58c10a7b22c3073f51a825814262a
2 files changed