[PR #4452] [MERGED] Ensure DebugTree is only planted once #4958

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

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/4452
Author: @david-livefront
Created: 12/11/2024
Status: Merged
Merged: 12/11/2024
Merged by: @david-livefront

Base: mainHead: duplicate-debug-tree


📝 Commits (1)

  • d409bf3 Ensure DebugTree is only planted once

📊 Changes

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

View changed files

📝 app/src/standard/java/com/x8bit/bitwarden/data/platform/manager/LogsManagerImpl.kt (+3 -3)

📄 Description

🎟️ Tracking

N/A

📔 Objective

This PR fixes a bug where we would plant duplicate DebugTrees for Timber every time the user toggles the logging flag. This change will ensure we only plant the tree once at start up.

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation 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/4452 **Author:** [@david-livefront](https://github.com/david-livefront) **Created:** 12/11/2024 **Status:** ✅ Merged **Merged:** 12/11/2024 **Merged by:** [@david-livefront](https://github.com/david-livefront) **Base:** `main` ← **Head:** `duplicate-debug-tree` --- ### 📝 Commits (1) - [`d409bf3`](https://github.com/bitwarden/android/commit/d409bf3a537062b047940a25d85955c42314524c) Ensure DebugTree is only planted once ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `app/src/standard/java/com/x8bit/bitwarden/data/platform/manager/LogsManagerImpl.kt` (+3 -3) </details> ### 📄 Description ## 🎟️ Tracking N/A ## 📔 Objective This PR fixes a bug where we would plant duplicate DebugTrees for Timber every time the user toggles the logging flag. This change will ensure we only plant the tree once at start up. ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation 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 2025-11-26 23:52:03 -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#4958