This method was being stripped by proguard and hence the tests could not
run.
Bug: b/36403696
Test: runtest --path
packages/apps/Settings/tests/app/src/com/android/settings/wifi/WifiSettingsUiTest.java
Change-Id: I30b26e960a876c0c024154bee809c0ab6e988e39
In preparation for removing junit classes from the Android API
the legacy-test target will be removed from the
TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit
dependencies on junit and/or legacy-android-test to ensure that
modules will compile properly once it is removed.
Bug: 30188076
Test: make checkbuild
Change-Id: If507b641624a2933e722f61e815890fcdf442265
Change-Id: I9d6574ef059872e449abfe47f16f80143bb86aec
Fixes: 31327402
Test: verified that test appears after running 'make continuous_instrumentation_tests dist'