Skip to content
Commit 541a7710 authored by Song Pan's avatar Song Pan
Browse files

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
parent 56dc6a4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment