summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jeff Sharkey <jsharkey@android.com> 2022-10-17 16:12:39 -0600
committer Jeff Sharkey <jsharkey@android.com> 2022-10-17 16:16:51 -0600
commitaf59fa3bd2314096d15f60aee81bbd4cc3b00914 (patch)
tree57270484cf05a4128930e6736aadefa7c1afcaa1 /libs/androidfw/StringPool.cpp
parenta51563231919be01f2d3de53a88df70154ac8992 (diff)
BroadcastQueue: Handle successor ProcessRecords.
In rare cases, a request to startProcessLocked() returns a different ProcessRecord from what is eventually attached. This change fixes the modern stack to not be confused in these situations, by always looking up the relevant BroadcastProcessQueue, instead of trying to do a raw ProcessRecord equality check. Add health check to verify that cold starts aren't abandoned. Add debugging details for each "blocked" broadcast. Bug: 253617038 Test: atest FrameworksMockingServicesTests:BroadcastRecordTest Test: atest FrameworksMockingServicesTests:BroadcastQueueTest Test: atest FrameworksMockingServicesTests:BroadcastQueueModernImplTest Change-Id: Iab95f80ee554589f66eefe351370d37e44210295
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions