summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2020-09-21 19:54:52 +0100
committerTobias Thierer <tobiast@google.com>2020-09-24 12:07:23 +0000
commit8f036fd4546789e32451df47dc416e17b475d699 (patch)
tree75b9b078b72bd5c661913491455a51181b526206 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentef35e18c2f781f3f4e56d6ca6d2151251bf03e71 (diff)
SystemConfig: Tolerate absent native lib paths.
SystemConfig.readPublicNativeLibrariesList() has some hard-coded paths containing public.libraries*.txt files; these are not present when this code runs outside of an Android device, for example in a Robolectric test on host. This CL changes the code to log a warning, rather than crash, when one of those folders is missing or inaccessible. Note that this increases the chance that a future breakage will be missed, but there already was not test coverage for the method behaving correctly. Fixes: 169017157 Test: Checked that the following fails before this but passes after this CL: atest BackupManagerServiceRoboTest Change-Id: Id8430ea68901ce60dcc855f7013bafadea823297
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions