commit | 91a1cc111c99557ba6c7a720650b7a0acdc90549 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Fri Sep 28 14:33:11 2018 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Fri Sep 28 14:46:34 2018 +0900 |
tree | 5a0e05a7919d5b3fea792ee08699749694c0e023 | |
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