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

Skip to content
Commit af661450 authored by William Escande's avatar William Escande
Browse files

InCallService: phoneStateChanged stays within Bt

The BluetoothInCallService service is living within the Bluetooth app
process.
Calling the Bluetooth Framework like if it was a 3p app doesn't make
sense and this is preventing efficient testing with un-necessary
abstraction.
This is also exposing some hidden API that shouldn't be callable.

This change replace the call to the bluetooth framework by a direct call
to the internal profile.

Bug: 380356012
Test: atest BluetoothInstrumentationTests
Flag: Exempt no-op refactor | this is simply shortening the calls to the
      service
Change-Id: I3969628f85fcabdf85a27c51e9dd1499e0353e6c
parent e130ea72
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