commit | 0b7566676bc84dd2ffbc1f546d43fd25130218d3 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Thu Mar 03 15:54:19 2022 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu Mar 03 15:54:19 2022 +0800 |
tree | 2d0e80806342ef18521fafb373a22f120238959f | |
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