summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorToshikazu Saito <toshikazu.x.saito@sony.com>2018-07-13 10:37:59 +0900
committerShrikara B <shrikara@codeaurora.org>2019-05-17 16:19:42 +0530
commit8d068a0ca54d33874726271c4a8cda56fd2583d5 (patch)
tree787283983957e6f94945d90bd4955556cbf802df /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta35f2b2f414285222c89e087f685a12e89d6897f (diff)
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 CRs-Fixed: 2454895 (cherry picked from commit a74c77991a41ec51403af179d63996f004618ef5) Change-Id: I6d32dec27c3be13993ec08f92d567b772d03ace9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions