Disable CloseGuard early.  (it defaults to spammy otherwise)

We already selectively enable it later when desired.

Change-Id: Ic428f13a57a2b4340ce343e73c32413b64fcd1af
diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java
index 70e11df..3cead11 100644
--- a/core/java/android/app/ActivityThread.java
+++ b/core/java/android/app/ActivityThread.java
@@ -95,6 +95,7 @@
 import java.util.TimeZone;
 import java.util.regex.Pattern;
 
+import dalvik.system.CloseGuard;
 import dalvik.system.SamplingProfiler;
 
 final class SuperNotCalledException extends AndroidRuntimeException {
@@ -3726,6 +3727,11 @@
     public static final void main(String[] args) {
         SamplingProfilerIntegration.start();
 
+        // CloseGuard defaults to true and can be quite spammy.  We
+        // disable it here, but selectively enable it later (via
+        // StrictMode) on debug builds, but using DropBox, not logs.
+        CloseGuard.setEnabled(false);
+
         Process.setArgV0("<pre-initialized>");
 
         Looper.prepareMainLooper();