Finish fixing Zygote descriptor leakage problem

In order to prevent Zygote descriptors from leaking into the child
environment, they should be closed by the forked-off child process
before the child switches to the application UID.  These changes close
the descriptors via dup2(), substituting a descriptor open to
/dev/null in their place; this allows the Zygote Java code to close
the FileDescriptor objects cleanly.

This is a multi-project change: dalvik, art, libcore, frameworks/base,
and external/sepolicy are affected.  The CLs need to be approved
together, lest the build break or the software fail to boot.

Round 2: indent change

Bug: 12114500
Change-Id: I090402136a8a8b7d6aad6eb153026e85d7cf6ad3
Revert "PackageManager: Fix reconnection logic in Installer."

This reverts commit aa594a5ba5bd90b95de09bd3ab970921437c9afe.
Prevent NPE in TextView.checkForRelayout

Change-Id: I2b82880080517737f12fba6c582f3b834744b028

Conflicts:
	core/java/android/widget/TextView.java