commit | a0f3f421dd9b33e32683f0ca4c3a363c09c23592 | [log] [tgz] |
---|---|---|
author | ykhung <ykhung@google.com> | Sun Apr 30 08:31:28 2023 +0800 |
committer | YK Hung <ykhung@google.com> | Sun Apr 30 00:33:57 2023 +0000 |
tree | 64dcf7765ee2d8940f301e6e40043d09aada9d03 | |
parent | 24666c97378aa1821e2d24b97f94f96516bf7b9e [diff] |
Fix legacy failed tests to avoid block presubmit Root cause: the `Robolectric.setupActivity(Activity.class)` is removed from the system, which will always return the null `Context` Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.fuelgauge.* Change-Id: Ib52bc715508332bcb4bdcac56ecc414aa43f1419