Loading core/java/android/app/ActivityThread.java +28 −28 Original line number Diff line number Diff line Loading @@ -3986,12 +3986,11 @@ public final class ActivityThread { dalvik.system.VMRuntime.getRuntime().clearGrowthLimit(); } // allow disk access during application and provider setup. this could // Allow disk access during application and provider setup. This could // block processing ordered broadcasts, but later processing would // probably end up doing the same disk access. restore not guarded with // finally block, since exceptions here will take down the application. // probably end up doing the same disk access. final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskWrites(); try { // If the app is being launched for full backup or restore, bring it up in // a restricted environment with the base application class. Application app = data.info.makeApplication(data.restrictedBackupMode, null); Loading @@ -4018,9 +4017,10 @@ public final class ActivityThread { + ": " + e.toString(), e); } } } finally { StrictMode.setThreadPolicy(savedPolicy); } } /*package*/ final void finishInstrumentation(int resultCode, Bundle results) { IActivityManager am = ActivityManagerNative.getDefault(); Loading Loading
core/java/android/app/ActivityThread.java +28 −28 Original line number Diff line number Diff line Loading @@ -3986,12 +3986,11 @@ public final class ActivityThread { dalvik.system.VMRuntime.getRuntime().clearGrowthLimit(); } // allow disk access during application and provider setup. this could // Allow disk access during application and provider setup. This could // block processing ordered broadcasts, but later processing would // probably end up doing the same disk access. restore not guarded with // finally block, since exceptions here will take down the application. // probably end up doing the same disk access. final StrictMode.ThreadPolicy savedPolicy = StrictMode.allowThreadDiskWrites(); try { // If the app is being launched for full backup or restore, bring it up in // a restricted environment with the base application class. Application app = data.info.makeApplication(data.restrictedBackupMode, null); Loading @@ -4018,9 +4017,10 @@ public final class ActivityThread { + ": " + e.toString(), e); } } } finally { StrictMode.setThreadPolicy(savedPolicy); } } /*package*/ final void finishInstrumentation(int resultCode, Bundle results) { IActivityManager am = ActivityManagerNative.getDefault(); Loading