summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dalvik/src/main/java/dalvik/system/ZygoteHooks.java6
-rw-r--r--mmodules/core_platform_api/api/platform/current-api.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/dalvik/src/main/java/dalvik/system/ZygoteHooks.java b/dalvik/src/main/java/dalvik/system/ZygoteHooks.java
index 14d554a25a..0339b4d0d4 100644
--- a/dalvik/src/main/java/dalvik/system/ZygoteHooks.java
+++ b/dalvik/src/main/java/dalvik/system/ZygoteHooks.java
@@ -112,8 +112,8 @@ public final class ZygoteHooks {
* before {@code postForkChild} for system server.
*/
@libcore.api.CorePlatformApi
- public static void postForkSystemServer() {
- nativePostForkSystemServer();
+ public static void postForkSystemServer(int runtimeFlags) {
+ nativePostForkSystemServer(runtimeFlags);
}
/**
@@ -143,7 +143,7 @@ public final class ZygoteHooks {
// Hook for SystemServer specific early initialization post-forking.
- private static native void nativePostForkSystemServer();
+ private static native void nativePostForkSystemServer(int runtimeFlags);
private static native long nativePreFork();
private static native void nativePostZygoteFork();
diff --git a/mmodules/core_platform_api/api/platform/current-api.txt b/mmodules/core_platform_api/api/platform/current-api.txt
index 53c14c29e3..0ec5f9f056 100644
--- a/mmodules/core_platform_api/api/platform/current-api.txt
+++ b/mmodules/core_platform_api/api/platform/current-api.txt
@@ -751,7 +751,7 @@ package dalvik.system {
method public static void onEndPreload();
method public static void postForkChild(int, boolean, boolean, String);
method public static void postForkCommon();
- method public static void postForkSystemServer();
+ method public static void postForkSystemServer(int);
method public static void preFork();
method public static void startZygoteNoThreadCreation();
method public static void stopZygoteNoThreadCreation();