Kweku Adams 9239a1acd3 Add API quotas to JobScheduler.
Limit apps from calling schedule() and enqueue() to 500 times in a 1
minute window.

Bug: 135764360
Bug: 144363383
Test: atest CtsJobSchedulerTestCases
Change-Id: I141e66b612c296a4a4a9cd7c382cea08d5f61b04
2020-01-13 10:51:13 -08:00

17 lines
387 B
Plaintext

// Job Scheduler Service jar, which will eventually be put in the jobscheduler mainline apex.
// service-jobscheduler needs to be added to PRODUCT_SYSTEM_SERVER_JARS.
java_library {
name: "service-jobscheduler",
installable: true,
srcs: [
"java/**/*.java",
],
libs: [
"app-compat-annotations",
"framework",
"services.core",
],
}