summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Azhara Assanova <azharaa@google.com> 2023-02-09 19:02:41 +0000
committer Azhara Assanova <azharaa@google.com> 2023-02-28 13:39:55 +0000
commitdc169c2d72fd5ab66eacaf0b7a76f948e0ca6910 (patch)
tree93c53790541e68a077373a0bc2588f51f1d508ca /api/api.go
parent4cdefccacfa2e09828826b8bcfa7bb6c9612f47b (diff)
Move initZipPathValidator() into ActivityThread
initZipPathValidator() relies on CompatChanges#isChangeEnabled() to work as intended, however, the current place, RuntimeInit#commonInit(), has a default no-op implementation of the CompatChanges callback. This change moves initZipPathValidator() into ActivityThread#handleBindApplication right after the CompatChanges callback is set, meaning the compat check starts working as intended. This change also removes the unit tests and converts them into CTS. Bug: 268138388 Bug: 268137846 Test: atest CtsSecurityHostTestCases:android.security.cts.host.ZipPathValidatorTest Change-Id: I4b7ccfd0f3b48844abe3edc112217478ceb1b300 Merged-In: I539465d818e78a7f1dd4dddbe345331836e09caf
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions