Properly iterate over packages in UID.

Because we should and we have been only inspecting packages that
actually requested a permission when determining the permission state
for it.

This fixes the permission allowlist bug that prevented booting.

Bug: 263504888
Test: boot
Change-Id: I1caa706a868fb6f4ebe303e6eb854c4e0ce65e14
1 file changed