From 01d27def5a1a6c4463403cf1421d6a2ddc3b673e Mon Sep 17 00:00:00 2001 From: t-p-white <1833156+t-p-white@users.noreply.github.com> Date: Thu, 24 Oct 2024 17:55:31 +0100 Subject: [PATCH] fixes #11610 feat(nimbus): add targeting configuration for android version 10 and higher (#11614) Because - A targeting config targeting Android version 10 and above is needed for https://github.com/mozilla/experimenter/issues/11610 This commit - Adds the aforementioned targeting config This is essentially a clone of the existing [Android 8 targeting configuration task](https://github.com/mozilla/experimenter/pull/9400). cc @jeddai --- experimenter/experimenter/targeting/constants.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/experimenter/experimenter/targeting/constants.py b/experimenter/experimenter/targeting/constants.py index ddb4d82bb..2de2b7273 100644 --- a/experimenter/experimenter/targeting/constants.py +++ b/experimenter/experimenter/targeting/constants.py @@ -1819,6 +1819,17 @@ ANDROID_8_OR_HIGHER_USERS = NimbusTargetingConfig( application_choice_names=(Application.FENIX.name,), ) +ANDROID_10_OR_HIGHER_USERS = NimbusTargetingConfig( + name="Android Version 10+ Users", + slug="android_10_or_higher_users", + description="Users on Android version 10 or higher", + targeting="(android_sdk_version|versionCompare('29') >= 0)", + desktop_telemetry="", + sticky_required=False, + is_first_run_required=False, + application_choice_names=(Application.FENIX.name,), +) + WINDOWS_10_PLUS = NimbusTargetingConfig( name="Windows 10+", slug="windows_10_plus",