[PR #5947] [MERGED] [PM-26094] Update Credential Manager library and remove stubs #43267

Closed
opened 2026-04-23 21:54:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/5947
Author: @SaintPatrck
Created: 9/26/2025
Status: Merged
Merged: 9/29/2025
Merged by: @SaintPatrck

Base: mainHead: cxf/deps/credentials-and-providerevents


📝 Commits (1)

  • 4cbe903 [PM-26094] Update Credential Manager library and remove stubs

📊 Changes

13 files changed (+17 additions, -231 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/importitems/ImportItemsViewModel.kt (+6 -6)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/importitems/ImportItemsViewModelTest.kt (+6 -6)
cxf/src/main/kotlin/androidx/credentials/providerevents/IntentHandler.kt (+0 -45)
cxf/src/main/kotlin/androidx/credentials/providerevents/ProviderEventsManager.kt (+0 -111)
cxf/src/main/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsCancellationException.kt (+0 -6)
cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/ExportEntry.kt (+0 -14)
cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/ProviderImportCredentialsRequest.kt (+0 -16)
cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/ProviderImportCredentialsResponse.kt (+0 -11)
cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/RegisterExportRequest.kt (+0 -8)
cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/RegisterExportResponse.kt (+0 -6)
📝 cxf/src/main/kotlin/com/bitwarden/cxf/manager/CredentialExchangeCompletionManagerImpl.kt (+1 -0)
📝 cxf/src/test/kotlin/com/bitwarden/cxf/manager/CredentialExchangeCompletionManagerTest.kt (+2 -0)
📝 gradle/libs.versions.toml (+2 -2)

📄 Description

🎟️ Tracking

PM-26094

📔 Objective

This commit updates the AndroidX Credential Manager library to 1.6.0-beta01 and the Credential Manager Provider Events library to 1.0.0-alpha03.

Additionally, this removes stub implementations for androidx.credentials.providerevents that are no longer needed with the updated library versions.

The CredentialTypes constants used in ImportItemsViewModel and its corresponding test have also been updated to reflect changes in the newer library version.

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 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/5947 **Author:** [@SaintPatrck](https://github.com/SaintPatrck) **Created:** 9/26/2025 **Status:** ✅ Merged **Merged:** 9/29/2025 **Merged by:** [@SaintPatrck](https://github.com/SaintPatrck) **Base:** `main` ← **Head:** `cxf/deps/credentials-and-providerevents` --- ### 📝 Commits (1) - [`4cbe903`](https://github.com/bitwarden/android/commit/4cbe903ed5a2677dd9fc82cbc4ea4722dd60b8f3) [PM-26094] Update Credential Manager library and remove stubs ### 📊 Changes **13 files changed** (+17 additions, -231 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/importitems/ImportItemsViewModel.kt` (+6 -6) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/importitems/ImportItemsViewModelTest.kt` (+6 -6) ➖ `cxf/src/main/kotlin/androidx/credentials/providerevents/IntentHandler.kt` (+0 -45) ➖ `cxf/src/main/kotlin/androidx/credentials/providerevents/ProviderEventsManager.kt` (+0 -111) ➖ `cxf/src/main/kotlin/androidx/credentials/providerevents/exception/ImportCredentialsCancellationException.kt` (+0 -6) ➖ `cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/ExportEntry.kt` (+0 -14) ➖ `cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/ProviderImportCredentialsRequest.kt` (+0 -16) ➖ `cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/ProviderImportCredentialsResponse.kt` (+0 -11) ➖ `cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/RegisterExportRequest.kt` (+0 -8) ➖ `cxf/src/main/kotlin/androidx/credentials/providerevents/transfer/RegisterExportResponse.kt` (+0 -6) 📝 `cxf/src/main/kotlin/com/bitwarden/cxf/manager/CredentialExchangeCompletionManagerImpl.kt` (+1 -0) 📝 `cxf/src/test/kotlin/com/bitwarden/cxf/manager/CredentialExchangeCompletionManagerTest.kt` (+2 -0) 📝 `gradle/libs.versions.toml` (+2 -2) </details> ### 📄 Description ## 🎟️ Tracking PM-26094 ## 📔 Objective This commit updates the AndroidX Credential Manager library to `1.6.0-beta01` and the Credential Manager Provider Events library to `1.0.0-alpha03`. Additionally, this removes stub implementations for `androidx.credentials.providerevents` that are no longer needed with the updated library versions. The `CredentialTypes` constants used in `ImportItemsViewModel` and its corresponding test have also been updated to reflect changes in the newer library version. ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <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 21:54:02 -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#43267