From 8418ad119c84627f7e0922da464fae17bba9c754 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Mon, 13 Nov 2023 14:20:13 +0100 Subject: [PATCH] Bug 1862641 - Reword note about calling with the correct uploadEnabled value [doc only] --- docs/user/reference/general/initializing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user/reference/general/initializing.md b/docs/user/reference/general/initializing.md index 3d8ff4a387..0aa6c88d7c 100644 --- a/docs/user/reference/general/initializing.md +++ b/docs/user/reference/general/initializing.md @@ -82,9 +82,9 @@ To learn about SDK specific configuration options available, refer to the [Refer > Glean must **always** be initialized with real values. > > Always pass the user preference, e.g. `Glean.initialize(uploadEnabled=userSettings.telemetryEnabled)` or the equivalent for your application. -> Never call `Glean.initialize(uploadEnabled=true)` if `true` is a placeholder value that later gets reset by `Glean.setUploadEnabled(false)` and vice-versa. > -> Depending on the provided placeholder value, this might trigger the generation of new client ids or the submission of bogus [`deletion-request` pings](../../user/pings/deletion-request.md). +> Calling `Glean.setUploadEnabled(false)` at a later point will trigger [`deletion-request` pings](../../user/pings/deletion-request.md) and regenerate client IDs. +> This should only be done if the user preference actually changes. {{#include ../../../shared/tab_header.md}}