OSDN Git Service

Changes of root storage space unmounting time on Zygote Process
[android-x86/frameworks-base.git] / core / java / com / android / internal / os / Zygote.java
index 197004c..9758bbc 100644 (file)
@@ -147,6 +147,12 @@ public final class Zygote {
     native private static int nativeForkSystemServer(int uid, int gid, int[] gids, int debugFlags,
             int[][] rlimits, long permittedCapabilities, long effectiveCapabilities);
 
+    /**
+     * Zygote unmount storage space on initializing.
+     * This method is called once.
+     */
+    native protected static void nativeUnmountStorageOnInit();
+
     private static void callPostForkChildHooks(int debugFlags, String instructionSet) {
         VM_HOOKS.postForkChild(debugFlags, instructionSet);
     }