Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(calling): microphone restricted when the app goes into background on Android 14 (WPB-6307) #2780

Merged
merged 3 commits into from Mar 11, 2024

Conversation

ohassine
Copy link
Member

@ohassine ohassine commented Mar 11, 2024

BugWPB-6307 [Android] Bluetooth issue during screen Off


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

Microphone is restricted when the app goes into background during a call on Android 14.

Causes (Optional)

This issue was introduced when we upgraded the target SDK to API 34 because of some changes added to Android 14.

Solutions

As phoneCall as foreground service type is not enough to access the microphone in background, we added Microphone type to fix the issue on Android 14.

Needs releases with:

  • GitHub link to other pull request

How to Test

Start a call on Android 14 device.
Put the app in the background.
The other person should still hear you.


PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@ohassine ohassine requested review from a team, typfel, yamilmedina, borichellow, MohamadJaara and vitorhugods and removed request for a team March 11, 2024 11:45
@ohassine ohassine enabled auto-merge (squash) March 11, 2024 12:01
Copy link
Contributor

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 9129c31.

@ohassine ohassine merged commit 82fceb0 into release/candidate Mar 11, 2024
10 of 11 checks passed
@ohassine ohassine deleted the microphone_restricted_android_14 branch March 11, 2024 12:30
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 3526 succeeded.

The build produced the following APK's:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
6 participants