diff options
| author | 2022-03-03 15:54:19 +0800 | |
|---|---|---|
| committer | 2022-03-03 15:54:19 +0800 | |
| commit | 0b7566676bc84dd2ffbc1f546d43fd25130218d3 (patch) | |
| tree | 2d0e80806342ef18521fafb373a22f120238959f /api/api.go | |
| parent | 4fa92e4aec57255b80bdaa6856b156f8b73e5130 (diff) | |
Add empty addTransactionCommittedListener for StubTransaction
To avoid calling real method which may run the listener on a dead
handler which was terminated by test. That crashes the test process.
(TransitionTests#testFixedRotationOpen uses the stub transaction
to onRotationTransactionReady -> addTransactionCommittedListener)
Bug: 221223435
Test: atest TransitionTests
Change-Id: Ie967814cebf8f33563184c6a98ed4e670e7a8056
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions