Add SapProfile to LocalBluetoothProfileManager (1/2)
* 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)
Loading
Please register or sign in to comment