commit | 580d000d29551d7a90743741f259d40d732fe164 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Nov 09 10:31:12 2022 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Nov 09 10:31:57 2022 -0700 |
tree | 4de136813305aaef9aeb9aba85dcdca351d44d87 | |
parent | 9bda383c489455e8c5295054ee2b07bf3802ffcc [diff] |
BroadcastQueue: fix proto dump regression. The underlying test here is assuming that a broadcast with an empty list of receivers is still listed in the dump output, so factor out notifyFinishBroadcast() to call in this situation. Also replace flaky sleep() with "wait-for-broadcast-barrier". Bug: 256174447 Test: atest CtsIncidentHostTestCases:ActivityManagerIncidentTest#testDumpBroadcasts Change-Id: If60bcfff3f0509e976dec2842dce77c5412d5505