Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5315c522 authored by Chienyuan's avatar Chienyuan
Browse files

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)
parent 30c689e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment