commit | c189414d762f0e129c4637509d692337739fc1c2 | [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 | a3c0a5676880948c70393125f5f5c4054fb683e5 | |
parent | b331f8713486ec82fbf0df284efda7e99feb303e [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