commit | 56c7a3269924cdd1d6f5bf92651d966e2afecaba | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Fri Sep 28 14:33:11 2018 +0900 |
committer | Courtney Goeltzenleuchter <courtneygo@google.com> | Fri Sep 28 08:24:12 2018 -0600 |
tree | f1c19dde5a70e5bc409b4d98f32c5555ec1cea5c | |
parent | a226524a8e0335ae6465bfe3b306a95162053b54 [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 (cherry picked from commit 91a1cc111c99557ba6c7a720650b7a0acdc90549)