Refactor TranscodeHelper for sysprop changes
1. The system properties 'persist.sys.fuse.transcode_skip_uids'
stores a list of uid's and 'persist.sys.fuse.transcode_skip_packages'
stores a list of packages to be skipped from transcoding.
Refactor TranscodeHelper's shouldTranscode() method to read
those and skip the uid's and packages accordingly.
2. Remove TRANSCODE_LIST, as all apps would be transcoded by default
if 'persist.fuse.sys.transcode' is true. Still keep the
ALLOW_LIST as we want to always skip some apps.
3. Refactor TranscodeTest and TranscodeTestUtils to honor the property
changes.
4. Fix minor formatting errors in TranscodeHelper.
Test: Manual
Bug: 169547037
Change-Id: I05d2550ca0bb1cfb009d7a1c84c69e40474927be
3 files changed