summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Behnam Heydarshahi <bhnm@google.com> 2023-06-30 21:09:43 +0000
committer Behnam Heydarshahi <bhnm@google.com> 2023-07-11 16:09:56 +0000
commit9f5a33afb76877a9c5e9cbadf500c7312d0baa06 (patch)
tree279a0b0b8081d28823539923bea34630b4cf4142 /libs/androidfw/FileStream.cpp
parent4867d4e163c1cb8356f2dbef99e59ce0f0b23165 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions