Put com.android.location.provider before services on the system server classpath.
Test: aosp_walleye-userdebug boots and there are no messages in the
logcat regarding class loader context mismatch:
$ adb logcat | grep 'mismatch'
# empty
Bug: 147017252
Change-Id: I338685b9cf71681b5ca0c541752948934b656b46
diff --git a/target/product/media_system.mk b/target/product/media_system.mk
index 3c66b81..4332389 100644
--- a/target/product/media_system.mk
+++ b/target/product/media_system.mk
@@ -50,9 +50,9 @@
# The order here is the same order they end up on the classpath, so it matters.
PRODUCT_SYSTEM_SERVER_JARS := \
+ com.android.location.provider \
services \
ethernet-service \
- com.android.location.provider \
service-jobscheduler \
service-blobstore