Tear down VolumeDialogImplTest cleanly
VolumeDialogImpl tests used to run a method on a mock InteractionJankMonitor, a fault which resulted in a nullpointer exception that caused the subsequent tests to crash. This CL avoids the fault by preventing the abovementioned method from running by allowing the VolumeDialogImpl class to not have an animator jank listener, when under test. Note: for long-term, instead of not listening to animation events, either the lingering animation calls should be omitted or the mock InteractionJankMonitor should not react to those calls with a null pointer exception. Bug: b/289228716 Test: atest VolumeDialogImplTest QuickAccessWalletControllerTest Change-Id: I0677b6b6ab958dc9939f55851c00dc67d32b828d
Loading
Please register or sign in to comment