Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3088ff85 authored by Dimitry Ivanov's avatar Dimitry Ivanov
Browse files

zygote: Remove NativeLoader initialization step

This now done by art Runtime::Start()

Bug: http://b/28320913
Change-Id: Icf9b11954b732c9f953e02bba9ae52eb91117457
(cherry picked from commit 6a850b3f)
parent 2c3f2c4d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ LOCAL_SHARED_LIBRARIES := \
    libutils \
    liblog \
    libbinder \
    libnativeloader \
    libandroid_runtime \
    $(app_process_common_shared_libs) \

+0 −2
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@
#include <cutils/properties.h>
#include <cutils/trace.h>
#include <android_runtime/AndroidRuntime.h>
#include <nativeloader/native_loader.h>
#include <private/android_filesystem_config.h>  // for AID_SYSTEM

namespace android {
@@ -305,7 +304,6 @@ int main(int argc, char* const argv[])
    }

    if (zygote) {
        InitializeNativeLoader();
        runtime.start("com.android.internal.os.ZygoteInit", args, zygote);
    } else if (className) {
        runtime.start("com.android.internal.os.RuntimeInit", args, zygote);