Use ApplicationInfo to check if changeId is disabled.

This avoids the need to make a PackageManager call
to query ApplicationInfo.

Bug: 377101020
Bug: 377193174
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastFilterTest.java
Flag: com.android.server.am.restrict_priority_values
Change-Id: Ifbe50d3fab07926afa25dc4616d75e79bfc4441a
4 files changed