commit | 1e7015ad0f62ca97c3d6f593d33201cf82da1cae | [log] [tgz] |
---|---|---|
author | Pawin Vongmasa <pawin@google.com> | Wed Oct 09 02:15:50 2019 -0700 |
committer | Pawin Vongmasa <pawin@google.com> | Wed Oct 09 02:15:50 2019 -0700 |
tree | a181d96584a233ce140c5b846028333ef22c6f13 | |
parent | b5dd7ae0b90cf66e68680c3f8064f78a23675f36 [diff] |
Codec2Client: Retry creation on failed transaction This CL moves the retrying logic into ForAllStores(). Before the CL, CreateInterfaceByName() will fail to detect C2_TRANSACTION_FAILED if the last service that tries to create the component in ForAllStores() does not have the requested component. Test: atest CtsMediaTestCases -- \ --module-arg CtsMediaTestCases:size:small Bug: 141907195 Change-Id: I98ee084ea14204bba15746e89514636254013aa5