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

Skip to content
Commit 93b2e165 authored by WhaleChang's avatar WhaleChang
Browse files

Floss: Refactor off-hook handling to match more closely with VC app intention

When the VC app attempts to place an active call, floss simulated this
behaviour by dialing/answering call on off-hook events. This does not
match VC app's intention because the VC app want to initiate a call directly
instead of dialing call frist and then answer the call.

Remove simulated dialing/answering on off-hook events. Directly answer
incoming calls or place active calls based on the current call state on
off-hook events.

Although this commit modifies the call operation sequences, we expect no
result behaviour change to the app and end users.

Bug: 336974317
Test: Conduct the following manual tests
  pair Bluetooth Headset
  Google Meet: headset is able hang-up the call
Test: Conduct the following manual tests
  pair Bluetooth Headset
  login Ring Central and place an incoming-call
  answer the call by headset
  hangup the call by headset
Test: Conduct the following manual tests
  pair Bluetooth Headset
  login Ring Central and place an incoming-call
  answer the call on Ring Central
  hangup the call from headset
Test: atest bluetooth_test_gd
Tag: #floss
Flag: EXEMPT, no behavior change on Android; Floss-only changes

Change-Id: I7cdaa509cc2225c3d4ceacfba92d64cd97e7f8ba
parent 0a2a0175
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