summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorSong Pan <songpan@google.com>2020-01-02 14:38:01 +0000
committerSong Pan <songpan@google.com>2020-01-02 14:44:00 +0000
commit541a77107045719b7457d9307a8da75249607487 (patch)
treed4832147ec8183b2637ad3179e602fd78dbfc37c /rs/java/android/renderscript/RenderScript.java
parent56dc6a4b72c40416c4d4e7671fffd50cf833d167 (diff)
Fail early if we don't have any rules file on disk.
This saves the time for parsing the APK file when there are no rules. This probably doesn't matter much in normal use cases but in test environments (e.g., see bug linked), where package verifier is disabled, this avoids the performance (install time) regression introduced by integrity check. BUG:146874731 Test: manual comparison of install latency through inspecting logcat. Change-Id: I3d687486f34214ac61058908401649939560b4fb
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions