Fix nondeterminisim in xmlnotice
SafePathPrefixes contains "prebuilts/" which is a prefix of another entry "prebuilts/module_sdk" which can both match the same path. SafePathPrefixes is a map, so the iteration order is nondeterminisitic. Move both SafePathPrefixes and SafePrebuiltPrefixes into lists that will always have a deterministic iteration order. Bug: 230357391 Test: build NOTICE.xml.gz multiple times Change-Id: Ibfcd6715b70f26164e0ef4d59f73b240f47f8db7
Loading
Please register or sign in to comment