From c66577ece35b73250f2078d8d59ac661a95a63d0 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Thu, 25 Feb 2016 08:50:50 +0000 Subject: [PATCH] Revert "Preload public libraries on Runtime::Start()" Breaks anyone not working on up-to-date devices/trees. I'll work on a revert of the revert. Bug: http://b/27245894 This reverts commit ea9fc5bd31781fb380ace74ccddf2137c7dcc5d9. Change-Id: Ie8fc286a64de4db2c905502a528005022803ed94 --- runtime/runtime.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 9f7fabad4..eb5455a4c 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -25,7 +25,6 @@ #define ATRACE_TAG ATRACE_TAG_DALVIK #include -#include #include #include #include "base/memory_tool.h" @@ -552,11 +551,6 @@ bool Runtime::Start() { } #endif - // This line makes sure that all public native libraries - // are loaded prior to runtime start; saves app load times - // and memory. - android::PreloadPublicNativeLibraries(); - // Restore main thread state to kNative as expected by native code. Thread* self = Thread::Current(); -- 2.11.0