Move service-statsd to updatable system server jar
This moves StatsCompanionService into the statsd apex.
service-statsd.jar is no longer installed to system/framework, and is
instead installed to
/apex/com.android.os.statsd/javalib/service-statsd.jar by moving it from
PRODUCT_SYSTEM_SERVER_JARS to PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS
Bug: 145923413
Test: make clean; make; vendor/google/tools/flashall and manual
inspection of jar locations
Test: made trivial update to SCS and bumped the version of the apex.
Then did: 1. make com.android.os.statsd 2. adb install
com.android.os.statsd 3. adb reboot. Verified that the change was
reflected via the apex update
Change-Id: Ia261ea79b2a46a4cc709e1b7dd072de15e17571e
diff --git a/target/product/media_system.mk b/target/product/media_system.mk
index 6ace361..fed4282 100644
--- a/target/product/media_system.mk
+++ b/target/product/media_system.mk
@@ -55,14 +55,14 @@
ethernet-service \
com.android.location.provider \
service-jobscheduler \
- service-statsd \
service-blobstore \
service-appsearch \
# system server jars which are updated via apex modules.
# The values should be of the format <apex name>:<jar name>
PRODUCT_UPDATABLE_SYSTEM_SERVER_JARS := \
- com.android.wifi:wifi-service
+ com.android.os.statsd:service-statsd \
+ com.android.wifi:wifi-service \
PRODUCT_COPY_FILES += \
system/core/rootdir/etc/public.libraries.android.txt:system/etc/public.libraries.txt