[PR #6965] Chore: Update Policy Types to conform to known values #86802

Open
opened 2026-05-23 01:03:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6965
Author: @david-livefront
Created: 5/22/2026
Status: 🔄 Open

Base: mainHead: update-policy-types


📝 Commits (1)

  • 2c9fe70 Update Policy Types to conform to known values

📊 Changes

6 files changed (+211 additions, -9 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/data/auth/datasource/disk/AuthDiskSourceImpl.kt (+9 -2)
core/src/main/kotlin/com/bitwarden/core/data/serializer/SafeMapSerializer.kt (+54 -0)
📝 core/src/main/kotlin/com/bitwarden/core/data/util/JsonExtensions.kt (+16 -0)
core/src/test/kotlin/com/bitwarden/core/data/serializer/SafeMapSerializerTest.kt (+82 -0)
📝 network/src/main/kotlin/com/bitwarden/network/model/PolicyTypeJson.kt (+49 -7)
📝 network/src/main/kotlin/com/bitwarden/network/model/SyncResponseJson.kt (+1 -0)

📄 Description

🎟️ Tracking

N/A

📔 Objective

This PR cleans up the PolicyTypeJson in preparation of adding support for the SDK PolicyView model.


🔄 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/6965 **Author:** [@david-livefront](https://github.com/david-livefront) **Created:** 5/22/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `update-policy-types` --- ### 📝 Commits (1) - [`2c9fe70`](https://github.com/bitwarden/android/commit/2c9fe7032e2a970ef981a069b45b6ca9ae49286b) Update Policy Types to conform to known values ### 📊 Changes **6 files changed** (+211 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/auth/datasource/disk/AuthDiskSourceImpl.kt` (+9 -2) ➕ `core/src/main/kotlin/com/bitwarden/core/data/serializer/SafeMapSerializer.kt` (+54 -0) 📝 `core/src/main/kotlin/com/bitwarden/core/data/util/JsonExtensions.kt` (+16 -0) ➕ `core/src/test/kotlin/com/bitwarden/core/data/serializer/SafeMapSerializerTest.kt` (+82 -0) 📝 `network/src/main/kotlin/com/bitwarden/network/model/PolicyTypeJson.kt` (+49 -7) 📝 `network/src/main/kotlin/com/bitwarden/network/model/SyncResponseJson.kt` (+1 -0) </details> ### 📄 Description ## 🎟️ Tracking N/A ## 📔 Objective This PR cleans up the `PolicyTypeJson` in preparation of adding support for the SDK `PolicyView` model. --- <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-05-23 01:03:04 -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#86802