diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2018-09-28 14:33:11 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2018-09-28 14:46:34 +0900 |
commit | 91a1cc111c99557ba6c7a720650b7a0acdc90549 (patch) | |
tree | 5a0e05a7919d5b3fea792ee08699749694c0e023 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | c457d8c95ac06f5a37a6a766f06005827a454a9e (diff) |
Call clearSettingsProvider before and after test
FakeSettingsProvider requires this method to be called before and after
use. Without this, the settings value or content provider may be cached
statically, so the test will be affected by code accessing settings
before it is run.
Bug: b/116668105
Test: atest FrameworksNetTests
Change-Id: I1480f3f3bbb17791752582a70327bb5c7c348d7c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions