summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorZim <zezeozue@google.com>2021-03-10 10:42:12 +0000
committerZimuzo Ezeozue <zezeozue@google.com>2021-03-10 16:28:14 +0000
commit9b26e937d5d8845127ef8746135bec53c56b59e1 (patch)
tree59c756ba0e50a20a7518cde14f1fb20b958e37d8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent19aad2c92c0a30709ad93a542985e16482dcfb57 (diff)
Fix FileSystemProvider open for external USB files
Ie08b94cf79c86e9f87639e4fbdd82b2732771187 introduced a regression where we try to coerce *all* files to a media store URI to open with the correct media_capabilities for the caller. Unfortunately, external USB files cannot be coerced to a media store URI and transcoding is not supported there anyways. Now, we avoid coercing USB files, additionally, if the coercion fails for any reason, we fallback to opening via the filesystem directly. Test: Manual Bug: 180802673 Change-Id: Iba8505669897d4ebfef5232707b8e2fec9bed76f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions