commit | b0fefa4c7df67a837333da32b9414b2aa03cc955 | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Fri Mar 20 19:24:24 2020 -0700 |
committer | Kevin Han <kevhan@google.com> | Wed Apr 01 18:17:06 2020 -0700 |
tree | 7719cf44acb651bcb20f688431ea15cdd4bdb0d1 | |
parent | 273bb0df015e02279d2c3900d42ed7aef74c3360 [diff] |
Fix modifying NBP callbacks in the callback As callbacks can themselves request rebinds, they were modifying NotifBindPipeline's callback list while it was still resolving the previous pipeline completion. By marshalling all callbacks into a scratch list and then iterating, we solve this issue. Bug: 112656837 Test: atest NotifBindPipelineTest Test: Notify apk group cancel test Change-Id: I5a528d65a683a070c31b04da80b3a83d00dbce49