commit | 69ade70f2d0857f4eadae97734ee8891e77895cb | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Mon Mar 08 11:59:14 2010 -0800 |
committer | Makoto Onuki <omakoto@google.com> | Wed Mar 10 13:08:09 2010 -0800 |
tree | 7e2f40645f28f4b61487e66197efe918241b0f33 | |
parent | a5e2aa405723bcbe0c6e1fa14297386d267d6fd2 [diff] |
Log recent network activities when IMAP parser crashes. Added DiscourseLogger, which stores last N (currently 64) lines of IMAP commands sent to the server and responses received from the server. We dump it to logcat when the IMAP parser crashes, that is, a) getting a RuntimeException in ImapFolder.fetch() or b) getting a Runtime/IOException in ImapResponseParser. Bug 2480227 Change-Id: I6b5a728a7df106627ec29bb3c7c04a97a99b444b