commit | a823af7c751440e7d8b920bbec490af62164c505 | [log] [tgz] |
---|---|---|
author | Kuan Wang <clairewang@google.com> | Thu Jun 27 16:29:58 2024 +0800 |
committer | Kuan Wang <clairewang@google.com> | Thu Jun 27 17:06:33 2024 +0800 |
tree | 3694d147a6aaa2ed0ba76b5c4205546538f27943 | |
parent | 7c3c1a32c9e1ea6b9857ed96cd9ea72c9bc8bf7b [diff] |
Fix failed test CommandContentProviderTest. Tests failed when running atest SettingsGoogleRoboTests:com.google.android.settings.fuelgauge because instance of PowerAllowlistBackend has been initialized by other unit tests. Reset it before the unit tests to avoid the issue. Flag: TEST_ONLY Test: atest SettingsGoogleRoboTests:com.google.android.settings.fuelgauge Bug: 349693853 Change-Id: Ia9dd4739665fa1ac0d48ba36a9417d249157cde6