Loading core/java/com/android/server/BootReceiver.java +6 −0 Original line number Diff line number Diff line Loading @@ -218,6 +218,8 @@ public class BootReceiver extends BroadcastReceiver { "/proc/last_kmsg", -LOG_SIZE, "SYSTEM_LAST_KMSG"); addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, "/sys/fs/pstore/console-ramoops", -LOG_SIZE, "SYSTEM_LAST_KMSG"); addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, "/sys/fs/pstore/console-ramoops-0", -LOG_SIZE, "SYSTEM_LAST_KMSG"); addFileToDropBox(db, timestamps, headers, "/cache/recovery/log", -LOG_SIZE, "SYSTEM_RECOVERY_LOG"); addFileToDropBox(db, timestamps, headers, "/cache/recovery/last_kmsg", Loading Loading @@ -303,6 +305,10 @@ public class BootReceiver extends BroadcastReceiver { if (fileTime <= 0) { file = new File("/sys/fs/pstore/console-ramoops"); fileTime = file.lastModified(); if (fileTime <= 0) { file = new File("/sys/fs/pstore/console-ramoops-0"); fileTime = file.lastModified(); } } if (fileTime <= 0) return; // File does not exist Loading Loading
core/java/com/android/server/BootReceiver.java +6 −0 Original line number Diff line number Diff line Loading @@ -218,6 +218,8 @@ public class BootReceiver extends BroadcastReceiver { "/proc/last_kmsg", -LOG_SIZE, "SYSTEM_LAST_KMSG"); addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, "/sys/fs/pstore/console-ramoops", -LOG_SIZE, "SYSTEM_LAST_KMSG"); addFileWithFootersToDropBox(db, timestamps, headers, lastKmsgFooter, "/sys/fs/pstore/console-ramoops-0", -LOG_SIZE, "SYSTEM_LAST_KMSG"); addFileToDropBox(db, timestamps, headers, "/cache/recovery/log", -LOG_SIZE, "SYSTEM_RECOVERY_LOG"); addFileToDropBox(db, timestamps, headers, "/cache/recovery/last_kmsg", Loading Loading @@ -303,6 +305,10 @@ public class BootReceiver extends BroadcastReceiver { if (fileTime <= 0) { file = new File("/sys/fs/pstore/console-ramoops"); fileTime = file.lastModified(); if (fileTime <= 0) { file = new File("/sys/fs/pstore/console-ramoops-0"); fileTime = file.lastModified(); } } if (fileTime <= 0) return; // File does not exist Loading