Loading
Don't throw if the matching key contains ":".
If a client adds custom crafted strings as part of matching key, it is possible for this restriction to go unnoticed. Instead, just all allow characters in the key. This means that we cannot solely rely on getDeliveryGroupMatchingKey() for matching but don't think this would be a problem for clients of this API outside the System. Bug: 275312433 Test: atest ./tests/app/src/android/app/cts/BroadcastOptionsTest.java Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java Test: atest ./services/tests/mockingservicestests/src/com/android/server/am/BroadcastRecordTest.java Change-Id: I76e307800017d4dd1e66233b1ff4cc5cbcef7246