Remove calls to VMRuntime methods that are no-ops.

Test: m
Change-Id: Ibe849f56f5fe8af1415dc6c85b484d0edca518ec
This commit is contained in:
Nicolas Geoffray
2019-03-04 13:23:34 +00:00
parent 55805af719
commit 5735cc7a11
2 changed files with 0 additions and 38 deletions

View File

@@ -1881,19 +1881,6 @@ public final class SystemServer {
mSystemServiceManager.startService(IncidentCompanionService.class);
traceEnd();
if (safeMode) {
traceBeginAndSlog("EnterSafeModeAndDisableJitCompilation");
mActivityManagerService.enterSafeMode();
// Disable the JIT for the system_server process
VMRuntime.getRuntime().disableJitCompilation();
traceEnd();
} else {
// Enable the JIT for the system_server process
traceBeginAndSlog("StartJitCompilation");
VMRuntime.getRuntime().startJitCompilation();
traceEnd();
}
// MMS service broker
traceBeginAndSlog("StartMmsService");
mmsService = mSystemServiceManager.startService(MmsServiceBroker.class);