diff options
| author | 2022-10-18 23:59:01 +0800 | |
|---|---|---|
| committer | 2022-10-18 23:59:01 +0800 | |
| commit | 678aa417ac3d56d5f0d66f760bb90a49b83ffc4b (patch) | |
| tree | 913e78499b8a7b1d27e33d093c44a8c22391d298 /libs/androidfw/StringPool.cpp | |
| parent | 58946d06cc6300044827f0a6ef401b74979aa02f (diff) | |
Reset factory of TaskPositioner in test
Depending on the execution order of test methods, after executing
TaskPositionerTests#testOverrideFactory, the next test method in
TaskPositioningControllerTests may be failed because the test
static factory returns null.
Clear the factory so it will use default implementation that returns
non-null TaskPositioner.
Bug: 254268165
Test: atest TaskPositionerTests TaskPositioningControllerTests
Change-Id: I6c9abb60ce6d1a8631ad07b63d6e0d04c2f76b39
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions