Copy SYSTEM_LAST_KMSG from /proc/last_kmsg instead of /data/dontpanic/last_kmsg.

(In preparation for not copying to /data/dontpanic/last_kmsg at all.)
This commit is contained in:
Dan Egnor
2009-11-23 19:23:49 -08:00
parent b59573cf53
commit c4cf6caa99

View File

@@ -84,7 +84,7 @@ public class BootReceiver extends BroadcastReceiver {
ContentResolver cr = context.getContentResolver();
logBootFile(cr, db, "/cache/recovery/log", "SYSTEM_RECOVERY_LOG");
logBootFile(cr, db, "/data/dontpanic/last_kmsg", "SYSTEM_LAST_KMSG");
logBootFile(cr, db, "/proc/last_kmsg", "SYSTEM_LAST_KMSG");
logBootFile(cr, db, "/data/dontpanic/apanic_console", "APANIC_CONSOLE");
logBootFile(cr, db, "/data/dontpanic/apanic_threads", "APANIC_THREADS");
}