Support transcode path RRO for OEMs
Introduced a config_supported_transcoding_relative_paths Runtime
Resource Overlay containing an array of supported relative paths for
transcoding.
The default path of DCIM/Camera/ is added in MediaProvider but OEMs
can override this to include other paths. Note the leading slash after
the relative path.
This would have been a trivial Java change but we need to plumb these
paths to the native FuseDaemon. It's used for evaluating if a path
supports transcoding in native. This is a very important performance
optimization to avoid unnecessary JNI up calls during FUSE_LOOKUP. See
I56ad243fdd00a04f3cb7a7391bf0680a0e33217d
Test: atest TranscodeTest
Bug: 199476627
Change-Id: I25dc9a4d93731b53bfe78ee5858db10a9df4e037
11 files changed