[PR #6728] [MERGED] PM-34193: bug: Unlock vault from Never-Lock should be on io thread #43915

Closed
opened 2026-04-23 22:35:18 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6728
Author: @david-livefront
Created: 3/27/2026
Status: Merged
Merged: 3/27/2026
Merged by: @mpbw2

Base: mainHead: PM-34193-never-lock-dispatcher


📝 Commits (1)

  • 158db90 PM-34193: Unlock vault from Never-Lock should be on io thread

📊 Changes

1 file changed (+2 additions, -1 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/data/vault/manager/VaultLockManagerImpl.kt (+2 -1)

📄 Description

🎟️ Tracking

PM-34193

📔 Objective

This PR addresses a bug with Never timeout value. We are now observing changes to the timeout type via the io dispatcher to ensure that the SDK cannot deadlock when calling back. This was a problem when we used the unconfined dispatcher. We are going to continue to investigate why this is happening, since using the unconfined dispatcher should not be a problem here.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/6728 **Author:** [@david-livefront](https://github.com/david-livefront) **Created:** 3/27/2026 **Status:** ✅ Merged **Merged:** 3/27/2026 **Merged by:** [@mpbw2](https://github.com/mpbw2) **Base:** `main` ← **Head:** `PM-34193-never-lock-dispatcher` --- ### 📝 Commits (1) - [`158db90`](https://github.com/bitwarden/android/commit/158db90bd36b1690d4d6f296b92e3cde8b91c7ef) PM-34193: Unlock vault from Never-Lock should be on io thread ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/vault/manager/VaultLockManagerImpl.kt` (+2 -1) </details> ### 📄 Description ## 🎟️ Tracking [PM-34193](https://bitwarden.atlassian.net/browse/PM-34193) ## 📔 Objective This PR addresses a bug with `Never` timeout value. We are now observing changes to the timeout type via the `io` dispatcher to ensure that the SDK cannot deadlock when calling back. This was a problem when we used the `unconfined` dispatcher. We are going to continue to investigate why this is happening, since using the `unconfined` dispatcher should not be a problem here. [PM-34193]: https://bitwarden.atlassian.net/browse/PM-34193?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-23 22:35:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#43915