commit | d2a86b62d7265309d0d1a5d53b640c080c72eca3 | [log] [tgz] |
---|---|---|
author | Victor Hsieh <victorhsieh@google.com> | Wed Nov 29 16:34:05 2023 -0800 |
committer | Victor Hsieh <victorhsieh@google.com> | Wed Nov 29 16:45:04 2023 -0800 |
tree | 9539823e533b865363510fda6d60fb7b02d87f3c | |
parent | 4ab7dcd6ed8c018aa0bc305a8633300a863640d3 [diff] |
Don't block the boot on hashing sepolicy onBootPhase seems to run sequentially. Moving the work to a background thread should fix the boot time regression around 15ms. Bug: 308471499 Test: enable the flag; atest BinaryTransparencyServiceTest Test: boot and saw sepolicy hash in the log Change-Id: I0f3ea9f852eb6a12554e995615bdb9b05478f387