am 504bb9e7: Merge "Temporarily increase saved tombstone size. DO NOT MERGE" into lmp-mr1-modular-dev

* commit '504bb9e7709cd51500b68f4220fffb61e11a5e1b':
  Temporarily increase saved tombstone size. DO NOT MERGE
This commit is contained in:
Christopher Ferris
2015-05-07 19:29:02 +00:00
committed by Android Git Automerger

View File

@@ -44,8 +44,11 @@ public class BootReceiver extends BroadcastReceiver {
// Maximum size of a logged event (files get truncated if they're longer).
// Give userdebug builds a larger max to capture extra debug, esp. for last_kmsg.
// For b/20829534, temporarily raise the size of the tombstone that
// will be saved.
private static final int LOG_SIZE =
SystemProperties.getInt("ro.debuggable", 0) == 1 ? 98304 : 65536;
SystemProperties.getInt("ro.debuggable", 0) == 1 ? 262144 : 65536;
private static final File TOMBSTONE_DIR = new File("/data/tombstones");