Loading core/java/android/os/ZygoteProcess.java +1 −0 Original line number Diff line number Diff line Loading @@ -758,6 +758,7 @@ public class ZygoteProcess { ZygoteState state = openZygoteSocketIfNeeded(abi); state.mZygoteOutputWriter.write("1\n--boot-completed\n"); state.mZygoteOutputWriter.flush(); state.mZygoteInputStream.readInt(); } } catch (Exception ex) { throw new RuntimeException("Failed to inform zygote of boot_completed", ex); Loading core/java/com/android/internal/os/ZygoteConnection.java +6 −0 Original line number Diff line number Diff line Loading @@ -306,6 +306,12 @@ class ZygoteConnection { } private void handleBootCompleted() { try { mSocketOutStream.writeInt(0); } catch (IOException ioe) { throw new IllegalStateException("Error writing to command socket", ioe); } VMRuntime.bootCompleted(); } Loading Loading
core/java/android/os/ZygoteProcess.java +1 −0 Original line number Diff line number Diff line Loading @@ -758,6 +758,7 @@ public class ZygoteProcess { ZygoteState state = openZygoteSocketIfNeeded(abi); state.mZygoteOutputWriter.write("1\n--boot-completed\n"); state.mZygoteOutputWriter.flush(); state.mZygoteInputStream.readInt(); } } catch (Exception ex) { throw new RuntimeException("Failed to inform zygote of boot_completed", ex); Loading
core/java/com/android/internal/os/ZygoteConnection.java +6 −0 Original line number Diff line number Diff line Loading @@ -306,6 +306,12 @@ class ZygoteConnection { } private void handleBootCompleted() { try { mSocketOutStream.writeInt(0); } catch (IOException ioe) { throw new IllegalStateException("Error writing to command socket", ioe); } VMRuntime.bootCompleted(); } Loading