android_frameworks_base/apex/jobscheduler/README_js-mainline.md
Anton Hansson 97369f8daf Rename framework and service jars
Name them framework-* and service-* instead of *-(framework|service).
This matches the proposal in go/android-apex-for-framework.

Test: treehugger
Change-Id: I16754a5f08e002a8bc8862b11281f12cc6c8739f
2019-11-22 20:20:12 +00:00

21 lines
937 B
Markdown

# Making Job Scheduler into a Mainline Module
## Current structure
- JS service side classes are put in `service-jobscheduler.jar`.
It's *not* included in services.jar, and instead it's put in the system server classpath,
which currently looks like the following:
`SYSTEMSERVERCLASSPATH=/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/com.android.location.provider.jar:/system/framework/service-jobscheduler.jar`
`SYSTEMSERVERCLASSPATH` is generated from `PRODUCT_SYSTEM_SERVER_JARS`.
- JS framework side classes are put in `framework-jobscheduler.jar`,
and the rest of the framework code is put in `framework-minus-apex.jar`,
as of http://ag/9145619.
However these jar files are *not* put on the device. We still generate
`framework.jar` merging the two jar files, and this jar file is what's
put on the device and loaded by Zygote.
The current structure is *not* the final design.