OSDN Git Service

Fix a couple of issues with system_server forking.
authorNarayan Kamath <narayan@google.com>
Fri, 13 Feb 2015 17:31:25 +0000 (17:31 +0000)
committerNarayan Kamath <narayan@google.com>
Fri, 13 Feb 2015 17:45:06 +0000 (17:45 +0000)
commitb6b044ae8263d1104e249ad2b857f0c570309990
treee4c0c29417c64d1c19c1bcd866222304af63b12f
parentb4a5c04c305a04a876728397dec7cc809e26b823
Fix a couple of issues with system_server forking.

- Remove the obsolete --runtime-init arg. its prescence
  was preventing other arguments from being parsed.

- Be stricter about unparsed args - throw if we see arguments
  we don't expect. This was already implemented but broken
  (probably implemented by a crap programmer).

bug: 19378905
Change-Id: Id8b6158db7ef6368dd13ae61f591cdf2b278dfd1
core/java/com/android/internal/os/ZygoteConnection.java
core/java/com/android/internal/os/ZygoteInit.java