Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Rename null to none when no ETP is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jhugman committed Jul 16, 2020
1 parent 1e06819 commit 1db2335
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class LeanplumMetricsService(private val application: Application) : MetricsServ

val trackingProtection = application.settings().run {
when {
!shouldUseTrackingProtection -> null
!shouldUseTrackingProtection -> "none"
useStandardTrackingProtection -> "standard"
useStrictTrackingProtection -> "strict"
else -> "custom"
Expand Down
2 changes: 1 addition & 1 deletion docs/mma.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ User Attributes
</tr>
<tr>
<td>`tracking_protection_setting`</td>
<td>A string indicating the level at which the user has set tracking protection. Possible values are `null`, `standard`, `strict` and `custom`</td>
<td>A string indicating the level at which the user has set tracking protection. Possible values are `none`, `standard`, `strict` and `custom`</td>
<td><a href="https://github.com/mozilla-mobile/fenix/pull/11965#issuecomment-649731798">#11965</a></td>
</tr>
<tr>
Expand Down

0 comments on commit 1db2335

Please sign in to comment.