Skip to content

fix: show ongoing call over device lock screen [WPB-30169] - #5637

Open
saleniuk wants to merge 3 commits into
developfrom
feat/keep-ongoing-call-over-lock-screen
Open

saleniuk wants to merge 3 commits into
developfrom
feat/keep-ongoing-call-over-lock-screen

Conversation

@saleniuk

@saleniuk saleniuk commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

https://wearezeta.atlassian.net/browse/WPB-30169


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

  • Ongoing and outgoing calls were hidden behind the Android lock screen.
  • Dismissing app-lock biometrics repeatedly reopened the prompt.
  • Countly retained destroyed activities.

Causes (Optional)

  • Lock-screen visibility was restricted to incoming calls, so transitioning to an ongoing call hid the call screen behind the device lock.
  • Dismissing app-lock authentication resumed the still-locked ongoing call activity, which immediately opened authentication again.
  • Countly 26.1.2 retained a reference to the last started activity in its content module after that activity was destroyed, preventing it from being garbage-collected.

Solutions

  • Allow call screens over the device lock screen and let app-lock authentication inherit their visibility.
  • Configure lock-screen visibility and screen wake-up in the manifest on supported Android versions, retaining runtime fallbacks for older versions.
  • Remove redundant app-lock observation, runtime flag overrides, flag cleanup on activity destruction, and the unused openAppLockActivity() helper.
  • Background the task before closing canceled authentication.
  • Update Countly to 26.1.3 to fix activity retention.

Testing

How to Test

  1. With app lock disabled, answer a call while the device is locked and verify call controls remain accessible.
  2. Minimize the call, then reopen it from its notification without unlocking the device.
  3. With Wire app-locked and the device locked, answer a call and verify app-lock authentication appears over the device lock screen.
  4. Dismiss authentication with X: verify the device lock screen returns, the call continues, and the prompt does not reopen.
  5. Verify outgoing calls also remain accessible over the lock screen.
  6. Complete app-lock authentication and verify call controls become accessible while the device remains locked.

Attachments (Optional)

Without app-lock, answering a call when device is locked

no.app.lock.-.answering.when.device.locked.mp4



With app-lock, unlock app first when answering, unlock device later

unlock.app.when.answering.and.unlock.device.later.mp4



With app-lock, keep app locked when answering, unlock device first, then unlock app

answer.keeping.app.locked.and.first.unlock.device.mp4

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.

@saleniuk
saleniuk requested a review from a team as a code owner December 4, 2026 14:48
@saleniuk
saleniuk requested review from Garzas and yamilmedina and removed request for a team December 4, 2026 14:48
@codecov

codecov Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.97%. Comparing base (3f1a5e0) to head (49de92d).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5637   +/-   ##
========================================
  Coverage    56.97%   56.97%           
========================================
  Files          821      821           
  Lines        28619    28619           
  Branches      4446     4446           
========================================
  Hits         16307    16307           
  Misses       10879    10879           
  Partials      1433     1433           
Files with missing lines Coverage Δ
...om/wire/android/ui/calling/StartingCallActivity.kt 53.84% <ø> (ø)
.../android/ui/calling/ongoing/OngoingCallActivity.kt 100.00% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f1a5e0...49de92d. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

  373 files    373 suites   2m 3s ⏱️
3 331 tests 3 331 ✅ 0 💤 0 ❌
3 343 runs  3 343 ✅ 0 💤 0 ❌

Results for commit 49de92d.

♻️ This comment has been updated with latest results.

@saleniuk
saleniuk requested a review from ohassine December 4, 2026 15:41

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants