Change caught exception in MediaScanner when ExifInterface is created
Some HEIF content happens RuntimeException in ExifInterface because
sniff is failed and MediaExtractor is not found. If exception happens,
scanning is aborted. So all contents may not be registered to database
correctly. To avoid that, this fix changes caught exception from
IOException to Exception for creating ExifInterface.
Bug: 117625929
Test: put some HEIF contents and check on photos
Change-Id: I6d32dec27c3be13993ec08f92d567b772d03ace9
1 file changed