Limit the scope of receiver priorities to within a process.

With this change, a receiver's priority value will only
affect the order in which broadcasts are delivered within
the same process that the receiver is running in.

Bug: 371307720
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java
Flag: com.android.server.am.limit_priority_scope
Change-Id: I23df1426ca9f493b82574fbcfffc36de29f2b7dd
8 files changed