summaryrefslogtreecommitdiffstats
path: root/services/appwidget
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-08-07 10:57:40 +0100
committerNarayan Kamath <narayan@google.com>2014-08-15 13:37:03 +0100
commit29564cd24589867f653cd22cabbaac6493cfc530 (patch)
treec5ee0b88f293d292d95012844097acd172a7a72a /services/appwidget
parentbdc78678dedc6b66b9584948b908cd8cf77c6b30 (diff)
downloadframeworks_base-29564cd24589867f653cd22cabbaac6493cfc530.zip
frameworks_base-29564cd24589867f653cd22cabbaac6493cfc530.tar.gz
frameworks_base-29564cd24589867f653cd22cabbaac6493cfc530.tar.bz2
Remove system_server classes from the boot image.
We set the system_server classpath in the environment (like we do with BOOTCLASSPATH). After the zygote forks the system_server, we dexopt the classpath (if needed) and then launch the system server with the correct PathClassLoader. This needed several small / medium refactorings : - The logic for connecting to installd is now in a separate class and belongs in the system_server. - SystemService / SystemServiceManager have now moved to classes.jar. They are only used from there, and since they use Class.forName, we want them to be loaded by the system_server classloader, and not the bootclassloader. - BootReceiver now moves to frameworks.jar, because it is used by ActivityThread and friends. bug: 16555230 Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
Diffstat (limited to 'services/appwidget')
-rw-r--r--services/appwidget/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/appwidget/Android.mk b/services/appwidget/Android.mk
index ca38f2f..e9bab4a 100644
--- a/services/appwidget/Android.mk
+++ b/services/appwidget/Android.mk
@@ -7,4 +7,6 @@ LOCAL_MODULE := services.appwidget
LOCAL_SRC_FILES += \
$(call all-java-files-under,java)
+LOCAL_JAVA_LIBRARIES := services.core
+
include $(BUILD_STATIC_JAVA_LIBRARY)