[PR #3599] PM-9532 pt. 1 small refactor of login success steps #4275

Closed
opened 2025-11-26 23:42:17 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/3599

State: closed
Merged: Yes


This is a small refactor of some of the Login common code, the end goal of PM-9532 will be to propagate any non API (read SDK) errors that can occur in the login flow (such as unlocking the vault). The change here moves all the unlock vault code to the top of the call stack in the handleLoginCommonSuccess function.

The goal of this PR is to isolate this logic reordering to allow for regression testing without any other changes related to propagating the error message.

**Original Pull Request:** https://github.com/bitwarden/android/pull/3599 **State:** closed **Merged:** Yes --- This is a small refactor of some of the Login common code, the end goal of [PM-9532](https://bitwarden.atlassian.net/browse/PM-9532) will be to propagate any non API (read SDK) errors that can occur in the login flow (such as unlocking the vault). The change here moves all the unlock vault code to the top of the call stack in the `handleLoginCommonSuccess` function. The goal of this PR is to isolate this logic reordering to allow for regression testing without any other changes related to propagating the error message. [PM-9532]: https://bitwarden.atlassian.net/browse/PM-9532?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
GiteaMirror added the pull-request label 2025-11-26 23:42:17 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#4275