commit | 0b8b22e856f910deb24fa00538f7ba063d1d6d07 | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Wed May 30 15:51:11 2018 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Fri Jun 08 10:30:02 2018 +0800 |
tree | 414c70480411c8c38d1180660e766e347355c9a7 | |
parent | 0af4302257425bd40659f676305ff5505ad85403 [diff] |
Fix crash for uncaught exception in MetadataLoader MetadataLoader just handle FileNotFoundException. Add more catch for DocumentsContract will rethrow RuntimeException if provider didn't support getDocumentMetadata. Bug: 80454526 Test: atest DocumentsUITests:DocumentLoaderTest Change-Id: I9c1eb23238d77d8dd8be6adf6a8dec10a3d6f564