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 Merged-In: I2efc1beb7a12e1ec412baf54f895d2ebe930e8f1
Loading
Please register or sign in to comment