Every time we enter WifiP2pSettings, a channel will be created, but we should keep only one channel if p2p connected. Bug: 259364357 Change-Id: Ie3c1b1281d74332cd5df720fb13476097f3f5df9 Merged-In: I999b108bc3e3c22519398a55b503078c1069cef1 Signed-off-by: DingFei Song <v-dingfeisong@xiaomi.corp-partner.google.com>
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.