commit | 8bdf5935c0db4a66ab33a10b43398d2523cfa15d | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Fri Oct 15 12:54:40 2010 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Fri Oct 15 14:46:33 2010 -0700 |
tree | 5483e26cd1fb2de239b2f01f3d35c52aeeb7b598 | |
parent | efb581018bbede2ecdc76bcd9722ded5b6903254 [diff] [blame] |
Work on issue #3101415: Crespo apps seem to have their UID changed over time. fsync! Change-Id: Ie6c5397202579935ac69bf61d3e7b3081ecf269c
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 9c06c33..7eb295b 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -6074,6 +6074,7 @@ Slog.w(TAG, "Failure writing last done pre-boot receivers", e); file.delete(); } finally { + FileUtils.sync(fos); if (dos != null) { try { dos.close();