Loading services/core/java/com/android/server/BootReceiver.java +7 −3 Original line number Diff line number Diff line Loading @@ -479,9 +479,13 @@ public class BootReceiver extends BroadcastReceiver { final String bootReason = SystemProperties.get("ro.boot.bootreason", null); HashMap<String, Long> timestamps = readTimestamps(); try { if (proto) { db.addFile(TAG_TOMBSTONE_PROTO, tombstone, 0); } else { final String headers = getBootHeadersToLogAndUpdate(); addFileToDropBox(db, timestamps, headers, tombstone.getPath(), LOG_SIZE, proto ? TAG_TOMBSTONE_PROTO : TAG_TOMBSTONE); TAG_TOMBSTONE); } } catch (IOException e) { Slog.e(TAG, "Can't log tombstone", e); } Loading Loading
services/core/java/com/android/server/BootReceiver.java +7 −3 Original line number Diff line number Diff line Loading @@ -479,9 +479,13 @@ public class BootReceiver extends BroadcastReceiver { final String bootReason = SystemProperties.get("ro.boot.bootreason", null); HashMap<String, Long> timestamps = readTimestamps(); try { if (proto) { db.addFile(TAG_TOMBSTONE_PROTO, tombstone, 0); } else { final String headers = getBootHeadersToLogAndUpdate(); addFileToDropBox(db, timestamps, headers, tombstone.getPath(), LOG_SIZE, proto ? TAG_TOMBSTONE_PROTO : TAG_TOMBSTONE); TAG_TOMBSTONE); } } catch (IOException e) { Slog.e(TAG, "Can't log tombstone", e); } Loading