packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/SapProfileTest.java
0 → 100644
+90
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
* add SapProfile and related logic to LocalBluetoothProfileManager * simplify logic for connect and disconnect in SapProfile * connect: remove connected device check logic. SapService will return false directly. * disconnect: remove connected device check logic. SapService will check it. * getConnectionStatus: remove connected device check logic. SapService will check it. * remove member variable V and related checks. * wrap if/else statement in curly brackets. * add robotest for SapProfile. Bug: 116281023 Test: make -j42 RunSettingsLibRoboTests ROBOTEST_FILTER=SapProfileTest Change-Id: I2efc1beb7a12e1ec412baf54f895d2ebe930e8f1 (cherry picked from commit f7cd263c9d9c2dc58dc9762c64d2db7d6ab05ec3)