commit | d3058d5ffe6be18af8a7ec9b99c0b780cf569c58 | [log] [tgz] |
---|---|---|
author | Quang Anh Luong <qal@google.com> | Fri Mar 21 18:06:27 2025 +0900 |
committer | Quang Anh Luong <qal@google.com> | Fri Mar 21 18:13:37 2025 +0900 |
tree | 60283a7369b120f92e8a6aadc5463890911dff40 | |
parent | 451f2dd39d6d84e2675fce144038899c30018dab [diff] |
Fix CarrierConfigRule#setHoldCarrierPrivilege race CarrierConfigRule#setHoldCarrierPrivilege will try to acquire/drop the carrier privilege, but does not wait for the result of the operation. If a test immediately calls an API that requires carrier privilege before the operation completes, then it will fail. Fix this by waiting for the operation to succeed before returning. Bug: 295979433 Test: presubmit Change-Id: Ic7cc9e1dbc206fbc0c3b79058b5782d93e89f1d7