commit | 3498ea9f5212b0e30c86d507b3bd400d555d0e51 | [log] [tgz] |
---|---|---|
author | Chienyuan <chienyuanhuang@google.com> | Thu Dec 26 16:21:09 2019 +0800 |
committer | Chienyuan <chienyuanhuang@google.com> | Thu Dec 26 16:25:07 2019 +0800 |
tree | 05c5fd11e65f05a03216b9cb150fb3550ac3563e | |
parent | 6937cb79a2cc37049c34a8b7c1652c85132ae050 [diff] |
MAP: catch IllegalStateException for handleMsgListChanges Cursor.get* functions will throw IllegalStateException if the stored data is not in bounds. Alothough we already check cursor != null and c.getColumnIndex(Mms._ID) should be exist but it still happen. Catch IllegalStateException to prevent bluetooth crash and get more detail error log. Bug: 144585524 Test: manual Change-Id: I5b6421d582b00f08823e6aea630368f8f2d2aaa2