summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2024-06-13 22:02:50 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2024-06-13 22:06:46 +0000
commitab3d4836831ef5ab6dba724ac7af0afc41d8f0af (patch)
tree22452a7ed27f177d57a5fd06026a535d66c572ba /libs/androidfw/StringPool.cpp
parente8c685669989f37f1416cd09d288b992ae32e850 (diff)
[SB][Screen Chips] Remove context.mainExecutor from tests.
I had originally added `context.mainExecutor` because I was trying to use a real version of `DialogTransitionAnimator`, which seemed to need that to work correctly (based on `DialogTransitionAnimatorTest`). But, it turns out that `context.mainExecutor` makes the mock live beyond the lifetime of the test. Once a test is done, we clear out all our mocks to have nulls everywhere, which means that subsequent tests will see null values when they shouldn't. Since I'm now using a mock version of `DialogTransitionAnimator`, we don't need these calls anyway so this CL removes them. Fixes: 346932645 Test: atest CastToOtherDeviceChipViewModelTest ScreenRecordChipViewModelTest ShareToAppChipViewModelTest Flag: NONE Fixing tests Change-Id: I248867da9856007d7539c0654e86321d4ac240a1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions